Files
openlan/pkg/schema/ipsec.go
Daniel Ding b7002947b3
Some checks failed
Coverage CI / build (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
Ubuntu CI / build (push) Has been cancelled
fea: show tunnel with state.
2024-12-23 20:29:39 +08:00

14 lines
360 B
Go

package schema
type IPSecTunnel struct {
Left string `json:"local"`
LeftId string `json:"localid"`
LeftPort int `json:"localport"`
Right string `json:"remote"`
RightId string `json:"remoteid"`
RightPort int `json:"remoteport"`
Transport string `json:"protocol"`
Secret string `json:"secret"`
State string `json:"state"`
}