netmaker/models/accessToken.go
2022-04-21 15:53:44 -04:00

17 lines
322 B
Go

package models
type AccessToken struct {
ServerConfig
ClientConfig
}
type ClientConfig struct {
Network string `json:"network"`
Key string `json:"key"`
LocalRange string `json:"localrange"`
}
type ServerConfig struct {
Server string `json:"server"`
APIConnString string `json:"apiconnstring"`
}