accessToken.go 330 B

1234567891011121314
  1. package models
  2. // AccessToken - token used to access netmaker
  3. type AccessToken struct {
  4. APIConnString string `json:"apiconnstring"`
  5. ClientConfig
  6. }
  7. // ClientConfig - the config of the client
  8. type ClientConfig struct {
  9. Network string `json:"network"`
  10. Key string `json:"key"`
  11. LocalRange string `json:"localrange"`
  12. }