Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnableToConnect = errors.New("unable to connect")
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Server ServerConfig `yaml:"server"`
Stream StreamConfig `yaml:"stream"`
}
type ConfigGetter ¶
type ConfigGetter interface {
GetNet() Config
}
type ServerConfig ¶
type ServerConfig struct {
ListenAddrs []string `yaml:"listenAddrs"`
}
type StreamConfig ¶
Click to show internal directories.
Click to hide internal directories.