netmaker/models/accessToken.go

15 lines
330 B
Go
Raw Normal View History

package models
2022-09-20 01:27:30 +08:00
// AccessToken - token used to access netmaker
type AccessToken struct {
2022-06-01 00:07:56 +08:00
APIConnString string `json:"apiconnstring"`
ClientConfig
}
2022-09-20 01:27:30 +08:00
// ClientConfig - the config of the client
type ClientConfig struct {
2021-10-09 03:07:12 +08:00
Network string `json:"network"`
Key string `json:"key"`
LocalRange string `json:"localrange"`
}