Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMemoryLimitExceed = errors.New("memory limit exceeded")
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // MemoryLimit specifies a maximum memory limit for a single Oracle. MemoryLimit int64 // TTL specifies how long messages should be kept in storage. TTL time.Duration // Address specifies Redis server address as "host:port". Address string // Password specifies Redis server password. Password string // DB is the Redis database number. DB int }
Config contains configuration parameters for Redis.
Click to show internal directories.
Click to hide internal directories.