Documentation ¶
Index ¶
- type Dao
- func (d *Dao) AddAsoAccount(c context.Context, a *model.EncryptAccount) (affected int64, err error)
- func (d *Dao) AsoAccounts(c context.Context, start, end int64) (res []*model.OriginAccount, err error)
- func (d *Dao) Close() (err error)
- func (d *Dao) DelAsoAccount(c context.Context, mid int64) (affected int64, err error)
- func (d *Dao) Ping(c context.Context) (err error)
- func (d *Dao) UpdateAsoAccount(c context.Context, a *model.EncryptAccount) (affected int64, 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) AddAsoAccount ¶
AddAsoAccount add aso account.
func (*Dao) AsoAccounts ¶
func (d *Dao) AsoAccounts(c context.Context, start, end int64) (res []*model.OriginAccount, err error)
AsoAccounts get tokens by mid.
func (*Dao) DelAsoAccount ¶
DelAsoAccount delete aso account.
func (*Dao) UpdateAsoAccount ¶
func (d *Dao) UpdateAsoAccount(c context.Context, a *model.EncryptAccount) (affected int64, err error)
UpdateAsoAccount update aso account.
Click to show internal directories.
Click to hide internal directories.