Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KernMethod ¶
type KernMethod struct {
BcName string
}
func NewKernContractMethod ¶
func NewKernContractMethod(bcName string) *KernMethod
type LedgerRely ¶
type LedgerRely interface {
// 获取状态机最新确认快照
GetTipXMSnapshotReader() (ledger.XMSnapshotReader, error)
}
type Manager ¶
type Manager struct {
Ctx *TimerCtx
}
Manager manages all timer releated data, providing read/write interface
func (*Manager) GetObjectBySnapshot ¶
type TimerCtx ¶
type TimerCtx struct {
// 基础上下文
xcontext.BaseCtx
BcName string
Ledger LedgerRely
Contract contract.Manager
}
func NewTimerTaskCtx ¶
type TimerManager ¶
func NewTimerTaskManager ¶
func NewTimerTaskManager(ctx *TimerCtx) (TimerManager, error)
NewTimerTaskManager create instance of TimerManager
Click to show internal directories.
Click to hide internal directories.