util

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2019 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(err error, out io.Writer, msg string, args ...interface{}) bool

func LoadSSZ

func LoadSSZ(path string, dst interface{}, ssz types.SSZ) error

func LoadSSZInput added in v0.0.2

func LoadSSZInput(r io.Reader, dst interface{}, ssz types.SSZ) error

func LoadSSZInputPath

func LoadSSZInputPath(cmd *cobra.Command, inPath string, stdInFallback bool, dst interface{}, ssz types.SSZ) error

func LoadStateInput

func LoadStateInput(r io.Reader) (*phase0.BeaconState, error)

func LoadStateInputFlag

func LoadStateInputFlag(cmd *cobra.Command, inputKey string, stdInFallback bool) (*phase0.BeaconState, error)

func LoadStateInputPath

func LoadStateInputPath(cmd *cobra.Command, inPath string, stdInFallback bool) (*phase0.BeaconState, error)

func Report

func Report(out io.Writer, msg string, args ...interface{})

func WriteStateOutput

func WriteStateOutput(cmd *cobra.Command, outKey string, state *phase0.BeaconState) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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