netmaker/models/mqtt.go

14 lines
204 B
Go
Raw Normal View History

package models
2022-01-16 07:16:44 +08:00
import "golang.zx2c4.com/wireguard/wgctrl/wgtypes"
type PeerUpdate struct {
2022-01-16 07:16:44 +08:00
Network string
Peers []wgtypes.PeerConfig
}
type KeyUpdate struct {
Network string
Interface string
}