Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PortValue uint16 `json:"port"` // Port of this Point server. InboundConfigValue *ConnectionConfig `json:"inbound"` OutboundConfigValue *ConnectionConfig `json:"outbound"` }
Config is the config for Point server.
func LoadConfig ¶
func (*Config) InboundConfig ¶
func (config *Config) InboundConfig() core.ConnectionConfig
func (*Config) OutboundConfig ¶
func (config *Config) OutboundConfig() core.ConnectionConfig
type ConnectionConfig ¶
func (*ConnectionConfig) Content ¶
func (config *ConnectionConfig) Content() []byte
func (*ConnectionConfig) Protocol ¶
func (config *ConnectionConfig) Protocol() string
Click to show internal directories.
Click to hide internal directories.