Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetTransaction ¶
func SetTransaction(d TransactionDao)
Types ¶
type GlobalDao ¶
type GlobalDao interface { FindProcessingList(ctx context.Context, limit, maxTimes int) (list []*entity.Global, err error) IncrTryTimes(ctx context.Context, gid string, nextCronTime int) error CreateGlobal(ctx context.Context, global *entity.Global) error GetGlobal(ctx context.Context, gid string) (entity.Global, error) UpdateGlobalStateByGid(ctx context.Context, gid string, state consts.GlobalState) (int64, error) }
type TransactionDao ¶
func GetTransaction ¶
func GetTransaction() TransactionDao
Click to show internal directories.
Click to hide internal directories.