package models import ( "crypto" ) type GlobalSettings struct { ApKey *string `json:"apkey",omitempty` ApDomain *string `json:"apDomain",omitempty` Port int `json:"port"` Adapters []Settings `json:"adapters"` } type Settings struct { Nickname string Protocol string PrivKey *string `json:"privkey",omitempty` Relays []string `json:"relays",omitempty` Server *string `json:"server",omitempty` ApiKey *string `json:"apiKey",omitempty` Handle *string `json:"handle",omitempty` Password *string `json:"password",omitempty` ApSigner *crypto.PrivateKey `json:"_",omitempty` }