database

package
v1.2.0-Beta.2.0...-bcfade6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2022 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	Redis *redis.Client
	Mongo *mongo.Database
}

func NewManager

func NewManager() Manager

func (*Manager) IsMongoOpen

func (manager *Manager) IsMongoOpen() bool

func (*Manager) IsRedisOpen

func (manager *Manager) IsRedisOpen() bool

func (*Manager) OpenMongoConnection

func (manager *Manager) OpenMongoConnection()

func (*Manager) OpenRedisConnection

func (manager *Manager) OpenRedisConnection()

func (*Manager) PingMongo

func (manager *Manager) PingMongo() int64

func (*Manager) PingRedis

func (manager *Manager) PingRedis() int64

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL