mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-11 18:32:08 +08:00
17 lines
322 B
Go
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"`
|
|
}
|