parser

package
v0.38.0-preview.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Finalized = "finalized"
	Sealed    = "sealed"
)

Finalized and Sealed represents the status of a block. It is used in rest arguments to provide block status.

View Source
const MaxIDsLength = 50

Variables

This section is empty.

Functions

func ParseBlockStatus

func ParseBlockStatus(blockStatus string) (flow.BlockStatus, error)

Types

type ID

type ID flow.Identifier

func (ID) Flow

func (i ID) Flow() flow.Identifier

func (*ID) Parse

func (i *ID) Parse(raw string) error

type IDs

type IDs []ID

func (IDs) Flow

func (i IDs) Flow() []flow.Identifier

func (*IDs) Parse

func (i *IDs) Parse(raw []string) error

Jump to

Keyboard shortcuts

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