Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigService ¶
func DefaultConfigService ¶
func DefaultConfigService() *ConfigService
func (*ConfigService) Load ¶
func (c *ConfigService) Load() error
Load will load the configuration from a known-to-exist config file.
func (*ConfigService) LoadOrInit ¶
func (c *ConfigService) LoadOrInit() error
LoadOrInit loads the current configuration from the config file, or creates a new config file if none exists.
func (*ConfigService) Save ¶
func (c *ConfigService) Save() error
type ConfigV1 ¶
type ConfigV1 struct { WebHookURL string Path string Watch int Username string NoWatermark bool Exclude string }
Config for the application
Click to show internal directories.
Click to hide internal directories.