dao

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 6 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 New

func New(cfg *config.Config) *Dao

func (*Dao) GetSession

func (d *Dao) GetSession(traceId int64) (*model.Session, error)

GetSession get session from traceId

func (*Dao) GetStatus

func (d *Dao) GetStatus(userId string) (int, error)

弃用

func (*Dao) SaveSession

func (d *Dao) SaveSession(session *model.Session) error

func (*Dao) SetStatus

func (d *Dao) SetStatus(userId string, isBusy int) error

弃用

Jump to

Keyboard shortcuts

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