mirror of
https://github.com/gravitl/netmaker.git
synced 2025-02-25 16:44:01 +08:00
18 lines
365 B
Go
18 lines
365 B
Go
package models
|
|
|
|
type AccessToken struct {
|
|
ServerConfig
|
|
ClientConfig
|
|
}
|
|
|
|
type ClientConfig struct {
|
|
Network string `json:"network"`
|
|
Key string `json:"key"`
|
|
LocalRange string `json:"localrange"`
|
|
}
|
|
|
|
type ServerConfig struct {
|
|
GRPCConnString string `json:"grpcconn"`
|
|
GRPCSSL string `json:"grpcssl"`
|
|
CommsNetwork string `json:"commsnetwork"`
|
|
}
|