Documentation ¶
Index ¶
Constants ¶
View Source
const RotateSizeCoef = 3 //TODO make configurable
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Port int `json:"port,omitempty"` Host string `json:"host,omitempty"` LogDestination string `json:"log-destination,omitempty"` // Stdout, stderr, or filepath. LogLevel string `json:"log-level,omitempty"` // Size values 10g, 128m, 1024k, 1000000b CacheSize string `json:"cache-size,omitempty"` MaxItemSize string `json:"max-item-size,omitempty"` AOF AOFConfig `json:"aof,omitempty"` }
Click to show internal directories.
Click to hide internal directories.