Documentation ¶
Index ¶
- type CacheFileWriter
- type Context
- func (ctx *Context) ChainName() string
- func (ctx *Context) DecrHeight()
- func (ctx *Context) Height() uint64
- func (ctx *Context) IncrHeight()
- func (ctx *Context) PushQueue(queue QueueMetaData)
- func (ctx *Context) Queue() []QueueMetaData
- func (ctx *Context) SetHeight(height uint64)
- func (ctx *Context) SetQueue(queue []QueueMetaData)
- type QueueMetaData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheFileWriter ¶
type CacheFileWriter struct {
// contains filtered or unexported fields
}
func NewCacheFileWriter ¶
func NewCacheFileWriter(homeDir, cacheDir, cacheFilename string) *CacheFileWriter
func (*CacheFileWriter) Write ¶
func (w *CacheFileWriter) Write(height uint64) error
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func NewContext ¶
func (*Context) DecrHeight ¶ added in v0.2.0
func (ctx *Context) DecrHeight()
func (*Context) IncrHeight ¶
func (ctx *Context) IncrHeight()
func (*Context) PushQueue ¶ added in v0.2.0
func (ctx *Context) PushQueue(queue QueueMetaData)
func (*Context) Queue ¶ added in v0.2.0
func (ctx *Context) Queue() []QueueMetaData
func (*Context) SetQueue ¶ added in v0.2.0
func (ctx *Context) SetQueue(queue []QueueMetaData)
Click to show internal directories.
Click to hide internal directories.