Documentation ¶
Overview ¶
1st of October, 2021 Author Asliddin Abdivasiyev Email space.coding.programmer@gmail.com This file provides configurations of library
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Config ¶
type Config struct { Driver Driver // driver type Addresses []string // connection address Username string // username Password string // password DB int // database Expiration int // expiration of the cache in seconds }
Configuration of the package
func (*Config) WithDriver ¶
Change default driver to your own
func (*Config) WithExpiration ¶
Change expiration time
Click to show internal directories.
Click to hide internal directories.