message

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvalidMessageError

type InvalidMessageError struct {
	Reason string
}

func (InvalidMessageError) Error

func (e InvalidMessageError) Error() string

type Message

type Message struct {
	To      bypass.Name
	From    bypass.Name
	Payload *order.Order
}

func NewMessage

func NewMessage(to, from bypass.Name, payload *order.Order) Message

func (Message) Validate

func (m Message) Validate(to bypass.Name) error

Jump to

Keyboard shortcuts

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