Documentation ¶
Index ¶
- type Dao
- func (d *Dao) AddAsoAccountsCloud(c context.Context, vs []*model.AsoAccount) (err error)
- func (d *Dao) AddIgnoreAsoAccount(c context.Context, a *model.AsoAccount) (affected int64, err error)
- func (d *Dao) AsoAccountRangeCloud(c context.Context, st, ed time.Time) (res []*model.AsoAccount, err error)
- func (d *Dao) AsoAccountRangeLocal(c context.Context, st, ed time.Time) (res []*model.OriginAsoAccount, err error)
- func (d *Dao) AsoAccountsCloud(c context.Context, vs []int64) (res []*model.AsoAccount, err error)
- func (d *Dao) AsoAccountsLocal(c context.Context, vs []int64) (res []*model.OriginAsoAccount, err error)
- func (d *Dao) Close() (err error)
- func (d *Dao) Ping(c context.Context) (err error)
- func (d *Dao) UpdateAsoAccountCloud(c context.Context, a *model.AsoAccount, mt time.Time) (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) AddAsoAccountsCloud ¶
AddAsoAccountsCloud batch add aso account to cloud.
func (*Dao) AddIgnoreAsoAccount ¶
func (d *Dao) AddIgnoreAsoAccount(c context.Context, a *model.AsoAccount) (affected int64, err error)
AddIgnoreAsoAccount add ignore aso account.
func (*Dao) AsoAccountRangeCloud ¶
func (d *Dao) AsoAccountRangeCloud(c context.Context, st, ed time.Time) (res []*model.AsoAccount, err error)
AsoAccountRangeCloud get aso account from cloud.
func (*Dao) AsoAccountRangeLocal ¶
func (d *Dao) AsoAccountRangeLocal(c context.Context, st, ed time.Time) (res []*model.OriginAsoAccount, err error)
AsoAccountRangeLocal get aso account from local range start and end time.
func (*Dao) AsoAccountsCloud ¶
AsoAccountsCloud get aso accounts from cloud.
func (*Dao) AsoAccountsLocal ¶
func (d *Dao) AsoAccountsLocal(c context.Context, vs []int64) (res []*model.OriginAsoAccount, err error)
AsoAccountsLocal get aso accounts from origin.
Click to show internal directories.
Click to hide internal directories.