dao

package
v0.0.0-...-8e4571c Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dao

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

func (*Dao) RegisterUser

func (dao *Dao) RegisterUser(ctx context.Context, user models.RegisterUserReq) (string, error)

RegisterUser implements Daolayer.

type Daolayer

type Daolayer interface {
	RegisterUser(context.Context, models.RegisterUserReq) (string, error)
}

func New

func New(config models.Config) (Daolayer, error)

Jump to

Keyboard shortcuts

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