package
Version:
v0.0.0-...-b52e348
Opens a new window with list of versions in this module.
Published: Jul 27, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type BillMgr struct {
Enabled bool `toml:"enabled"`
WHMCSAccessKey string `toml:"whmcs_key"`
WHMCSUserName string `toml:"whmcs_username"`
WHMCSPassword string `toml:"whmcs_password"`
WHMCSDomain string `toml:"whmcs_domain"`
PiggyBanks []string `toml:"piggybanks"`
}
type Config struct {
Enabled bool `toml:"enabled"`
Mailer Mailer `toml:"smtp"`
Slack Slack `toml:"slack"`
Infobip Infobip `toml:"infobip"`
BillMgr BillMgr `toml:"bill"`
Addons Addons `toml:"addons"`
}
type Infobip struct {
Enabled bool `toml:"enabled"`
Username string `toml:"username"`
Password string `toml:"password"`
ApiKey string `toml:"api_key"`
ApplicationId string `toml:"application_id"`
MessageId string `toml:"message_id"`
}
type Mailer struct {
Enabled bool `toml:"enabled"`
Domain string `toml:"domain"`
Username string `toml:"username"`
Password string `toml:"password"`
Identity string `toml:"identity"`
Sender string `toml:"sender"`
Logo string `toml:"logo"`
Nilavu string `toml:"nilavu"`
}
Service manages the listener and handler for an HTTP endpoint.
NewService returns a new instance of Service.
Close closes the underlying subscribe channel.
Err returns a channel for fatal errors that occur on the listener.
type Slack struct {
Enabled bool `toml:"enabled"`
Token string `toml:"token"`
Channel string `toml:"channel"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.