Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface { Init() (*ConfigYaml, error) Read() (*ConfigYaml, error) }
type ConfigSlack ¶
type ConfigSlack struct { Token string `yaml:"token"` Channels []ConfigSlackChannel `yaml:"channels"` }
type ConfigSlackAction ¶
type ConfigSlackAction struct {
Message string `yaml:"message"`
}
type ConfigSlackChannel ¶
type ConfigSlackChannel struct { Name string ClockIn *ConfigSlackAction `yaml:"clockin"` ClockOut *ConfigSlackAction `yaml:"clockout"` GoOut *ConfigSlackAction `yaml:"goout"` Returned *ConfigSlackAction `yaml:"returned"` }
type ConfigYaml ¶
type ConfigYaml struct { TenantCode string `yaml:"tenantcode"` OBCiD string `yaml:"obcid"` Password string `yaml:"password"` Slack *ConfigSlack `yaml:"slack"` }
Click to show internal directories.
Click to hide internal directories.