easy

package module
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 1

README

Documentation

Index

Constants

View Source
const AUTHORS = "arden<arden@tujiao.com>"
View Source
const VERSION = "v0.0.9"

Variables

This section is empty.

Functions

func Gorm

func Gorm(name ...string) *gorm.DB

Gorm returns an instance of database ORM object with specified configuration group name.

func Redis

func Redis(name ...string) *easyRedis.Redis

Redis returns an instance of redis client with specified configuration group name.

Types

This section is empty.

Directories

Path Synopsis
core
fx
metrics/rmetric
Package rmetric provides method to collect metrics of go runtime so it is called as rmetric (runtime metrics).
Package rmetric provides method to collect metrics of go runtime so it is called as rmetric (runtime metrics).
metrics/system
Package system provides method to collect metrics of machines.
Package system provides method to collect metrics of machines.
example
mq
nsq
nsq/internal/color
Package color provides facility to make normal text into ansi-colored text so as to output on console.
Package color provides facility to make normal text into ansi-colored text so as to output on console.
nsq/internal/pool
Package pool implements a pool of net.Conn interfaces to manage and reuse them.
Package pool implements a pool of net.Conn interfaces to manage and reuse them.
nsq/pool
Package pool implements a pool of net.Conn interfaces to manage and reuse them.
Package pool implements a pool of net.Conn interfaces to manage and reuse them.

Jump to

Keyboard shortcuts

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