Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OMConfig ¶
type OMConfig struct { Server ServerConfig `mapstructure:"server"` HotKeys map[string][]string `mapstructure:"hotkeys"` }
func LoadConfig ¶
func (*OMConfig) Validate ¶
func (c *OMConfig) Validate() (hkd.HotKeyDaemon, util.ContextualizedErrors)
type ServerConfig ¶
type ServerConfig struct {
Address string `mapstructure:"address"`
}
Click to show internal directories.
Click to hide internal directories.