Private GIT

Skip to content
Snippets Groups Projects
Select Git revision
1 result Searching

server.go

Blame
  • server.go 540 B
    package model
    
    import "time"
    
    type Server struct {
    	Name    string    `json:"name"`
    	Created time.Time `json:"created"`
    	Updated time.Time `json:"updated"`
    	Address             string `json:"address"`
    	ListenPort          int    `json:"listenPort"`
    	PrivateKey          string `json:"privateKey"`
    	PublicKey           string `json:"publicKey"`
    	PresharedKey        string `json:"presharedKey"`
    	Endpoint            string `json:"endpoint"`
    	PersistentKeepalive int    `json:"persistentKeepalive"`
    	Dns                 string `json:"dns"`
    }