Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AMQPConfig ¶
type AMQPConfig struct {
Priority int64 `mapstructure:"priority"`
Prefetch int `mapstructure:"prefetch"`
Queue string `mapstructure:"queue"`
Exchange string `mapstructure:"exchange"`
ExchangeType string `mapstructure:"exchange_type"`
RoutingKey string `mapstructure:"routing_key"`
Exclusive bool `mapstructure:"exclusive"`
MultipleAck bool `mapstructure:"multiple_ask"`
RequeueOnFail bool `mapstructure:"requeue_on_fail"`
}
type BeanstalkConfig ¶
type BoltDBConfig ¶
type Config ¶
type Config struct {
// --------------
Nats *struct {
Addr string `mapstructure:"addr"`
} `mapstructure:"nats"`
// --------------
Boltdb *struct {
Permissions int `mapstructure:"permissions"`
} `mapstructure:"boltdb"`
// --------------
AMQP *struct {
Addr string `mapstructure:"addr"`
} `mapstructure:"amqp"`
// --------------
Beanstalk *struct {
Addr string `mapstructure:"addr"`
Timeout string `mapstructure:"timeout"`
} `mapstructure:"beanstalk"`
// --------------
Sqs *struct {
Key string `mapstructure:"key"`
Secret string `mapstructure:"secret"`
Region string `mapstructure:"region"`
SessionToken string `mapstructure:"session_token"`
Endpoint string `mapstructure:"endpoint"`
} `mapstructure:"sqs"`
// --------------
Jobs *struct {
NumPollers int `mapstructure:"num_pollers"`
PipelineSize int `mapstructure:"pipeline_size"`
Pool *pool.Config `mapstructure:"pool"`
Pipelines map[string]*Pipeline `mapstructure:"pipelines"`
Consume []string `mapstructure:"consume"`
} `mapstructure:"jobs"`
}
type MemoryConfig ¶
type MemoryConfig struct {
Priority int64 `mapstructure:"priority"`
}
type NATSConfig ¶
type NATSConfig struct {
Priority int64 `mapstructure:"priority"`
Subject string `mapstructure:"subject"`
Stream string `mapstructure:"stream"`
Prefetch int `mapstructure:"prefetch"`
RateLimit uint64 `mapstructure:"rate_limit"`
DeleteAfterAck bool `mapstructure:"delete_after_ack"`
DeliverNew bool `mapstructure:"deliver_new"`
DeleteStreamOnStop bool `mapstructure:"delete_stream_on_stop"`
}
type SQSConfig ¶
type SQSConfig struct {
Priority int64 `mapstructure:"priority"`
VisibilityTimeout int32 `mapstructure:"visibility_timeout"`
WaitTimeSeconds int32 `mapstructure:"wait_time_seconds"`
Prefetch int32 `mapstructure:"prefetch"`
Queue *string `mapstructure:"queue"`
Attributes map[string]string `mapstructure:"attributes"`
Tags map[string]string `mapstructure:"tags"`
}
Click to show internal directories.
Click to hide internal directories.