data

package
v0.0.0-...-a029906 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: MIT Imports: 20 Imported by: 0

README

Data

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is data providers.

Functions

func NewAuthRepo

func NewAuthRepo(data *Data, logger log.Logger) biz.AuthRepo

func NewDB

func NewDB(cfg *conf.Data, l log.Logger) (*gorm.DB, error)

func NewDiscovery

func NewDiscovery(cfg *conf.Discovery) kratosRegistry.Discovery

NewDiscovery 根据配置创建服务发现客户端

func NewUserRepo

func NewUserRepo(data *Data, logger log.Logger) biz.UserRepo

Types

type Data

type Data struct {
	// contains filtered or unexported fields
}

Data .

func NewData

func NewData(db *gorm.DB, c *conf.Data, logger log.Logger, client client.Client) (*Data, func(), error)

NewData .

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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