util

package
v0.0.0-...-7d53dad Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct{}

func (*Config) Load

func (*Config) Load(cnfFile string) (err error)

type Mongo

type Mongo struct{}

func (*Mongo) Connect

func (*Mongo) Connect(host, user, pwd, uriOpts string) (err error)

type Redis

type Redis struct{}

func (*Redis) Connect

func (*Redis) Connect(addr string, pwd string, db int) (err error)

Jump to

Keyboard shortcuts

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