Documentation ¶
Index ¶
- type Dao
- func (d *Dao) AddCacheSysMsg(ctx context.Context, msg map[int64]*v1.SysMsg)
- func (d *Dao) CacheSysMsg(ctx context.Context, ids []int64) (res map[int64]*v1.SysMsg, err error)
- func (d *Dao) Close()
- func (d *Dao) CreateSysMsg(ctx context.Context, msg *v1.SysMsg) (err error)
- func (d *Dao) DelCacheSysMsg(ctx context.Context, msgID int64)
- func (d *Dao) Ping(ctx context.Context) error
- func (d *Dao) RawSysMsg(ctx context.Context, ids []int64) (res map[int64]*v1.SysMsg, err error)
- func (d *Dao) SysMsg(c context.Context, keys []int64) (res map[int64]*v1.SysMsg, err error)
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
}
Dao dao
func (*Dao) AddCacheSysMsg ¶
AddCacheSysMsg 添加sys_msg缓存
func (*Dao) CacheSysMsg ¶
CacheSysMsg .
func (*Dao) CreateSysMsg ¶
CreateSysMsg 创建系统消息
func (*Dao) DelCacheSysMsg ¶
DelCacheSysMsg 删除sys_msg缓存
Click to show internal directories.
Click to hide internal directories.