json

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address []byte

Address is a JSON message for an address.

type ChangeSet

type ChangeSet struct {
	Remove     []uint
	Addresses  [][]byte
	PublicKeys []json.RawMessage
}

ChangeSet is a JSON message of the change set of an authority.

type Player

type Player struct {
	Address   []byte
	PublicKey json.RawMessage
}

Player is a JSON message that contains the address and the public key of a new participant.

type Roster

type Roster []Player

Roster is a JSON message for a authority.

Jump to

Keyboard shortcuts

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