Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao interface { Close() Ping(ctx context.Context) (err error) //ping ReadPing(c context.Context, t string) (*Ping, error) UpdatePing(c context.Context, p *Ping) error //user-cc ExistUserCC(c context.Context, uid int64) (bool, error) SetUserCC(c context.Context, user *User) error GetUserCC(c context.Context, uid int64) (*User, error) DelUserCC(c context.Context, uid int64) error //user-db CreateUserDB(c context.Context, user *User) error ReadUserDB(c context.Context, uid int64) (*User, error) UpdateUserDB(c context.Context, user *User) error DeleteUserDB(c context.Context, uid int64) error //user CreateUser(c context.Context, user *User) error ReadUser(c context.Context, uid int64) (*User, error) UpdateUser(c context.Context, user *User) error DeleteUser(c context.Context, uid int64) error }
Dao dao interface
Click to show internal directories.
Click to hide internal directories.