Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockContext ¶ added in v0.1.0
func NewBlockContext ¶ added in v0.1.0
func NewBlockContext(height int64, timestamp time.Time) *BlockContext
type Message ¶
type Message struct { Block *BlockContext `json:"-"` Type string `json:"type"` Data interface{} `json:"data"` }
func NewMessage ¶
func NewMessage(messageType string, data interface{}, block *BlockContext) *Message
Click to show internal directories.
Click to hide internal directories.