initialize

package
v0.0.0-...-1b17b00 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitAuth

func InitAuth(ctx context.Context, cache cachex.Cache, authConf *conf.AuthConf) (jwtx.Auther, func(), error)

func NewCkClient

func NewCkClient(conf *conf.ServerConf) driver.Conn

NewCkClient create clickhouse client with data config

func NewDbClient

func NewDbClient(conf *conf.ServerConf) *gorm.DB

NewDbClient create db client with data config

func NewEtcdClient

func NewEtcdClient(conf *conf.ServerConf) *clientv3.Client

NewEtcdClient create etcd client with data config

func NewRedisCacheClient

func NewRedisCacheClient(conf *conf.ServerConf) cachex.Cache

NewRedisCacheClient create redis client with data config

Types

This section is empty.

Jump to

Keyboard shortcuts

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