Documentation
¶
Index ¶
- Variables
- type Cache
- type MongoDB
- type MongoDBClient
- type Redis
- func (r Redis) GetAddress() string
- func (r Redis) GetDatabase() int
- func (r Redis) GetDialOptions() []string
- func (r Redis) GetHost() string
- func (r Redis) GetPassword() string
- func (r Redis) GetPoolOptions() []string
- func (r Redis) GetPoolSize() int
- func (r Redis) GetPort() int
- func (r Redis) GetURI() string
Constants ¶
This section is empty.
Variables ¶
View Source
var Global interface{}
Functions ¶
This section is empty.
Types ¶
type MongoDB ¶
type MongoDB struct { Host string Port int Username string Password string Timeout int Database string }
func (MongoDB) GetAddress ¶
func (MongoDB) GetDatabase ¶
func (MongoDB) GetPassword ¶
func (MongoDB) GetTimeout ¶
func (MongoDB) GetUsername ¶
type Redis ¶
func (Redis) GetAddress ¶
func (Redis) GetDatabase ¶
func (Redis) GetDialOptions ¶
func (Redis) GetPassword ¶
func (Redis) GetPoolOptions ¶
func (Redis) GetPoolSize ¶
Click to show internal directories.
Click to hide internal directories.