parser

package
v0.38.0-util Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: AGPL-3.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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