lib

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: Apache-2.0, MIT Imports: 11 Imported by: 0

Documentation

Overview

establish connection to a 'FullNode' filecoin API with cli configuration. Mostly with an eye towards ease of use for lotus users.

Index

Constants

This section is empty.

Variables

View Source
var ApiFlag = cli.StringFlag{
	Name:    "api",
	Usage:   "api endpoint, formatted as token:multiaddr",
	Value:   "",
	EnvVars: []string{"FULLNODE_API_INFO"},
}

Functions

func GetAPI

func GetAPI(c *cli.Context) (api.FullNode, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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