Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Host string // Specify redis host. Password string // Specify redis password. Database int // Specify the Redis database to use. PoolSize int // Specify work pool size. ProcessUnique string // Process unique id, use can specify hostname. }
Config sidekip config structure.
func NewConfigDefault ¶
NewConfigDefault initialize sidekip default configure information instance.
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithPassword ¶
func WithPoolSize ¶
func WithProcessUnique ¶
func WithSelectDatabase ¶
Click to show internal directories.
Click to hide internal directories.