accessToken.go 322 B

1234567891011121314151617
  1. package models
  2. type AccessToken struct {
  3. ServerConfig
  4. ClientConfig
  5. }
  6. type ClientConfig struct {
  7. Network string `json:"network"`
  8. Key string `json:"key"`
  9. LocalRange string `json:"localrange"`
  10. }
  11. type ServerConfig struct {
  12. Server string `json:"server"`
  13. APIConnString string `json:"apiconnstring"`
  14. }