messages

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPriceMalformedMessage = errors.New("malformed price message")
View Source
var PriceMessageName = "price/v0"

Functions

This section is empty.

Types

type Price

type Price struct {
	Price *oracle.Price   `json:"price"`
	Trace json.RawMessage `json:"trace"`
}

func (*Price) MarshalBinary

func (p *Price) MarshalBinary() ([]byte, error)

func (*Price) Marshall

func (p *Price) Marshall() ([]byte, error)

func (*Price) UnmarshalBinary

func (p *Price) UnmarshalBinary(data []byte) error

func (*Price) Unmarshall

func (p *Price) Unmarshall(b []byte) error

Jump to

Keyboard shortcuts

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