Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { Key string `yaml:"key"` Action ActionRedis `yaml:"action"` Conditions []string `yaml:"conditions"` // TODO: improve parser/lexer engine // contains filtered or unexported fields }
Action represents a redis action section
func (*Action) ConditionsCheck ¶
ConditionsCheck checks conditions
func (*Action) UnmarshalYAML ¶
UnmarshalYAML returns an unmarshal YAML implementation
type ActionRedis ¶
type ActionRedis string
ActionRedis represents a typed redis action
const ( // ActionIncrement returns increment action for redis ActionIncrement ActionRedis = "increment" // ActionDecrement returns decrement action for redis ActionDecrement ActionRedis = "decrement" // ActionDelete returns delete action for redis ActionDelete ActionRedis = "delete" )
type Config ¶
Config represents the config file structured
type RabbitMQ ¶
type RabbitMQ struct { ExchangeName string `yaml:"exchangeName"` RoutingKey string `yaml:"routingKey"` QueueName string `yaml:"queueName"` Exchange exchange.Exchange `yaml:"exchange"` Bind bind.Bind `yaml:"bind"` Queue queue.Queue `yaml:"queue"` }
RabbitMQ represents a RabbitMQ section
func (*RabbitMQ) UnmarshalYAML ¶
UnmarshalYAML returns an unmarshal YAML implementation
Click to show internal directories.
Click to hide internal directories.