Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IConfig ¶
type IConfig interface { GetNetwork() string GetLogging() logger.ILogging GetAddress() IAddress GetConnections() []string GetFriends() map[string]asymmetric.IPubKey GetService(string) (string, bool) }
func LoadConfig ¶
type IWrapper ¶
func NewWrapper ¶
type SConfig ¶
type SConfig struct { FNetwork string `json:"network,omitempty"` FAddress *SAddress `json:"address,omitempty"` FLogging []string `json:"logging,omitempty"` FConnections []string `json:"connections,omitempty"` FServices map[string]string `json:"services,omitempty"` FFriends map[string]string `json:"friends,omitempty"` // contains filtered or unexported fields }
func (*SConfig) GetAddress ¶
func (*SConfig) GetConnections ¶
func (*SConfig) GetFriends ¶
func (p *SConfig) GetFriends() map[string]asymmetric.IPubKey
func (*SConfig) GetLogging ¶
func (*SConfig) GetNetwork ¶
Click to show internal directories.
Click to hide internal directories.