blockchain

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2023 License: MIT Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MsgSender

type MsgSender struct {
	// contains filtered or unexported fields
}

MsgSender provides a method to send a message to the blockchain.

func NewMsgSender

func NewMsgSender(servers []config.LiteServer, channels []chan []byte) (*MsgSender, error)

func (*MsgSender) SendMessage

func (ms *MsgSender) SendMessage(ctx context.Context, payload []byte) error

SendMessage sends the given payload(a message) to the blockchain.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL