Versions in this module Expand all Collapse all v1 v1.0.0 Jan 10, 2023 Changes in this version + var Global interface + type Cache struct + Key string + Value string + type MongoDB struct + Database string + Host string + Password string + Port int + Timeout int + Username string + func (r MongoDB) GetAddress() string + func (r MongoDB) GetDatabase() string + func (r MongoDB) GetHost() string + func (r MongoDB) GetPassword() string + func (r MongoDB) GetPort() int + func (r MongoDB) GetTimeout() int + func (r MongoDB) GetURI() string + func (r MongoDB) GetUsername() string + type MongoDBClient struct + Client *mongo.Client + var DB *MongoDBClient + type Redis struct + Database int + Host string + Password string + Port int + Version string + 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