Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublishableMessage ¶
type PublishableMessage[T common.BlockModel | common.TransactionModel | common.LogModel | common.TraceModel] struct { Data T `json:"data"` Status string `json:"status"` }
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
func GetInstance ¶
func GetInstance() *Publisher
GetInstance returns the singleton Publisher instance
func (*Publisher) PublishBlockData ¶
Click to show internal directories.
Click to hide internal directories.