app

package
v0.9.17 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BufferPool

func BufferPool() (pool *egu.BufferPool)

func Config

func Config() (conf *config.Config)

Config 配置文件

func Container

func Container() *dig.Container

Container 容器

func DB

func DB() (conn *gorm.DB)

DB 返回数据库连接

func Etcd

func Etcd() (client *etcd.Client)

Etcd

func Http

func Http() (client *http.Client)

Http client

func InitDB

func InitDB() error

func Jwt

func Jwt() (jwt *auth.JwtAuth)

Jwt jwt组件

func Logger

func Logger() (logger *log.Logger)

Logger 日志管理器

func Redis

func Redis() (client *redis.Client)

Redis get redis connection

func Task

func Task() (manager *cron.Cron)

task manager

Types

This section is empty.

Jump to

Keyboard shortcuts

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