commons

package
v0.0.0-...-a54da22 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCacheConn = errors.New("ErrCacheConn")

ErrCacheConn error type for Error Cache Connection

View Source
var ErrDBConn = errors.New("ErrDBConn")

ErrDBConn error type for Error DB Connection

View Source
var ErrInvalidName = errors.New("ErrInvalidName")
View Source
var MappingError = errors.New("MappingError")

Functions

This section is empty.

Types

type Options

type Options struct {
	Config    config.Provider
	DbMysql   *gorm.DB
	CachePool *redis.Pool
	Logger    logger.Logger
}

Options common option for all object that needed

Jump to

Keyboard shortcuts

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