cmds

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0, MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Commands = []*cli.Command{cmdCreate, cmdDefaultConfig, cmdService, cmdIndexService}

Functions

func AutoCloser added in v1.1.0

func AutoCloser(rc io.ReadCloser) io.Reader

func Compress added in v1.1.0

func Compress(in io.Reader, out io.Writer) error

func CreateLotusClient

func CreateLotusClient(ctx context.Context, multiaddr string) (api.FullNode, jsonrpc.ClientCloser, error)

func MultiWriteCloser added in v1.1.0

func MultiWriteCloser(ws ...io.Writer) io.WriteCloser

func NodeMultiaddrs

func NodeMultiaddrs(cfg *config.ExportWorkerConfig) ([]string, error)

func TrimDescription

func TrimDescription(desc string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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