Help us shape the future of Go! Take the 2026 Go Developer Survey

parser

package
v0.38.4 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 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 EventType

type EventType string

func (EventType) Flow

func (e EventType) Flow() string

func (*EventType) Parse

func (e *EventType) Parse(raw string) error

type EventTypes

type EventTypes []EventType

func (EventTypes) Flow

func (e EventTypes) Flow() []string

func (*EventTypes) Parse

func (e *EventTypes) Parse(raw []string) error

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