registry

package
v0.1.0-beta.6 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseDB

func CloseDB() error

CloseDB close db

func Config

func Config() configs.Config

Config get config instance

func Limit

Limit get ratelimit instance

func RegisterDB

func RegisterDB(config configs.Config) *gorm.DB

RegisterDB 注册数据库

func RegisterEs

func RegisterEs(cfg configs.Config) service.Elasticsearch

RegisterEs 注册配置文件

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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