netmaker/models/accessToken.go

14 lines
285 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 {
2023-01-19 05:27:44 +08:00
Network string `json:"network"`
Key string `json:"key"`
}