sender

package
v0.0.0-...-49bbcf7 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CloudWS = "wss://api.blxrbdn.com/ws"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Sender)

func AccountID

func AccountID(id string) Option

func Log

func Log(log zerolog.Logger) Option

func SecretHash

func SecretHash(hash string) Option

func URL

func URL(url string) Option

type Sender

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

func NewSender

func NewSender(opts ...Option) (*Sender, error)

func (*Sender) Send

func (s *Sender) Send(rawtx string) (string, error)

Jump to

Keyboard shortcuts

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