Documentation ¶
Index ¶
- type Dao
- func (d *Dao) GetDialog(ctx context.Context, userId int64, peerType int32, peerId int64) (*dialog.DialogExt, error)
- func (d *Dao) GetDialogByPeerDialogId(ctx context.Context, userId, peerDialogId int64) (*dialog.DialogExt, error)
- func (d *Dao) MakeDialog(dialogDO *dataobject.DialogsDO) *dialog.DialogExt
- type Mysql
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao struct { *Mysql sqlc.CachedConn }
Dao dao.
func (*Dao) GetDialogByPeerDialogId ¶ added in v0.86.3
func (*Dao) MakeDialog ¶ added in v0.86.3
func (d *Dao) MakeDialog(dialogDO *dataobject.DialogsDO) *dialog.DialogExt
type Mysql ¶
type Mysql struct { *sqlx.DB *mysql_dao.DialogFiltersDAO *mysql_dao.DialogsDAO *sqlx.CommonDAO }
Click to show internal directories.
Click to hide internal directories.