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) //count UpdatePingCount(c context.Context, t PingType, v PingCount) error ReadPingCount(c context.Context, t PingType) (PingCount, 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 UpdateUserDB(c context.Context, user *User) error ReadUserDB(c context.Context, uid int64) (User, error) DeleteUserDB(c context.Context, uid int64) error //user CreateUser(c context.Context, user *User) error UpdateUser(c context.Context, user *User) error ReadUser(c context.Context, uid int64) (User, error) DeleteUser(c context.Context, uid int64) error }
Dao dao interface
Click to show internal directories.
Click to hide internal directories.