mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-30 11:23:16 -04:00
17 lines
264 B
Go
17 lines
264 B
Go
package nmdata
|
|
|
|
import "net"
|
|
|
|
// Network is the slim twin of types.Network.
|
|
type Network struct {
|
|
Identifier string
|
|
Net net.IPNet
|
|
NetV6 net.IPNet
|
|
Dns string
|
|
Serial uint64
|
|
}
|
|
|
|
func (n *Network) CurrentSerial() uint64 {
|
|
return n.Serial
|
|
}
|