Documentation ¶
Index ¶
- type Config
- func (c *Config) GetSubscriptionArn(topicArn string) string
- func (c *Config) Read() error
- func (c *Config) RemoveSubscriptionData(topicArn string)
- func (c *Config) Save() error
- func (c *Config) SetDynamoDBActionRetries(i uint)
- func (c *Config) SetDynamoDBAwsRegion(s string)
- func (c *Config) SetDynamoDBDaxUrl(s string)
- func (c *Config) SetDynamoDBTable(s string)
- func (c *Config) SetDynamoDBTimeoutSeconds(i uint)
- func (c *Config) SetDynamoDBUseDax(b bool)
- func (c *Config) SetNotifierGatewayUrl(s string)
- func (c *Config) SetServerKey(s string)
- func (c *Config) SetSnsAwsRegion(s string)
- func (c *Config) SetSubscriptionData(topicArn string, subscriptionArn string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AppName string `mapstructure:"-"` ConfigFileName string `mapstructure:"-"` CustomConfigPath string `mapstructure:"-"` NotifierServerData *notifierServerData `mapstructure:"notifier_server"` SubscriptionsData []*subscriptionsData `mapstructure:"subscriptions"` // contains filtered or unexported fields }
func (*Config) GetSubscriptionArn ¶
func (*Config) RemoveSubscriptionData ¶
RemoveSubscriptionData hint: topicArn = blank to remove all subscription data from config
func (*Config) SetDynamoDBActionRetries ¶
func (*Config) SetDynamoDBAwsRegion ¶
func (*Config) SetDynamoDBDaxUrl ¶
func (*Config) SetDynamoDBTable ¶
func (*Config) SetDynamoDBTimeoutSeconds ¶
func (*Config) SetDynamoDBUseDax ¶
func (*Config) SetNotifierGatewayUrl ¶
func (*Config) SetServerKey ¶
func (*Config) SetSnsAwsRegion ¶
func (*Config) SetSubscriptionData ¶
Click to show internal directories.
Click to hide internal directories.