Files
openlan/pkg/schema/output.go
Daniel Ding 7a4ef32b25
Some checks failed
Coverage CI / build (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
Ubuntu CI / build (push) Has been cancelled
fix: remove cache link.
2025-12-08 19:49:44 +08:00

19 lines
615 B
Go

package schema
type Output struct {
Network string `json:"network"`
Protocol string `json:"protocol"`
Remote string `json:"remote"`
DstPort int `json:"dstPort,omitempty"`
Segment int `json:"segment,omitempty"`
Secret string `json:"secret,omitempty"`
Crypt string `json:"crypt,omitempty"`
Device string `json:"device"`
RxBytes uint64 `json:"rxBytes,omitempty"`
TxBytes uint64 `json:"txBytes,omitempty"`
ErrPkt uint64 `json:"errors,omitempty"`
AliveTime int64 `json:"aliveTime"`
Fallback string `json:"fallback,omitempty"`
State string `json:"state,omitempty"`
}