mirror of
https://github.com/gravitl/netmaker.git
synced 2024-09-20 23:36:18 +08:00
15 lines
330 B
Go
15 lines
330 B
Go
package models
|
|
|
|
// AccessToken - token used to access netmaker
|
|
type AccessToken struct {
|
|
APIConnString string `json:"apiconnstring"`
|
|
ClientConfig
|
|
}
|
|
|
|
// ClientConfig - the config of the client
|
|
type ClientConfig struct {
|
|
Network string `json:"network"`
|
|
Key string `json:"key"`
|
|
LocalRange string `json:"localrange"`
|
|
}
|