db

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHandle

func GetHandle(ctx context.Context) *gorm.DB

Types

type DataBaseClient

type DataBaseClient struct {
	DB *gorm.DB
}

func GetClient

func GetClient() DataBaseClient

func (DataBaseClient) Load

func (c DataBaseClient) Load() error

func (DataBaseClient) LoadType

func (c DataBaseClient) LoadType() string

func (DataBaseClient) Stop

func (c DataBaseClient) Stop() error

func (DataBaseClient) StopPriority

func (c DataBaseClient) StopPriority() int

Jump to

Keyboard shortcuts

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