data

package
v0.0.0-...-f780273 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2025 License: MIT Imports: 12 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.AuthRepoI

func NewUserDataRepo

func NewUserDataRepo(data *Data, logger log.Logger) biz.UserDataRepoI

Types

type AuthRepo

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

type Data

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

Data .

func NewData

func NewData(c *conf.Data, logger log.Logger) (*Data, func(), error)

NewData .

type UserDataRepo

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

func (*UserDataRepo) FindByDingTalkOpenId

func (repo *UserDataRepo) FindByDingTalkOpenId(id string) (*biz.UserData, error)

func (*UserDataRepo) FindByEmail

func (repo *UserDataRepo) FindByEmail(id string) (*biz.UserData, error)

func (*UserDataRepo) FindByID

func (repo *UserDataRepo) FindByID(id string) (*biz.UserData, error)

func (*UserDataRepo) FindByMobile

func (repo *UserDataRepo) FindByMobile(id string) (*biz.UserData, error)

func (*UserDataRepo) StorageByDingTalkOpenId

func (repo *UserDataRepo) StorageByDingTalkOpenId(user *biz.UserData) error

Jump to

Keyboard shortcuts

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