Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { Enabled bool `toml:"enabled"` Port int `toml:"port"` DataDir string `toml:"data"` // How often to rotate log file MaxAgeSeconds int `toml:"max_age_seconds"` // Max file size before rotating MaxSizeBytes int64 `toml:"max_size_bytes"` HealthCheckPath string `toml:"health_check_path"` FreeSpaceRequiredBytes int64 `toml:"free_space_required_bytes"` }
type Config ¶
type Config struct { AccountManager map[string]interface{} `toml:"account_manager"` Database map[string]interface{} `toml:"database"` Logs Logs `toml:"logs"` Queue string `toml:"queue"` Storage string `toml:"storage"` S3 S3 `toml:"s3"` SQS SQS `toml:"sqs"` API API `toml:"api"` Transport Transport `toml:"transport"` }
type Logs ¶
type QueueStorage ¶
type QueueStorage struct { ProducerDataDir string `toml:"producer_data_dir"` ConsumerDataDir string `toml:"consumer_data_dir"` MaxFileSizeBytes int64 `toml:"max_file_size_bytes"` MaxRows int64 `toml:"max_rows"` MaxFileAgeSeconds int `toml:"max_file_age_seconds"` FreeSpaceRequiredBytes uint64 `toml:"free_space_required_bytes"` DequeueTimeoutSeconds int `toml:"dequeue_timeout_seconds"` }
type Transport ¶
type Transport struct { Type string `toml:"type"` Workers int `toml:"workers"` QueueStorage QueueStorage `toml:"queue_storage"` }
Click to show internal directories.
Click to hide internal directories.