cmdenv

package
v0.4.18 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetApi

func GetApi(env cmds.Environment) (coreiface.CoreAPI, error)

GetApi extracts CoreAPI instance from the environment.

func GetConfig

func GetConfig(env cmds.Environment) (*config.Config, error)

GetConfig extracts the config from the environment.

func GetNode

func GetNode(env interface{}) (*core.IpfsNode, error)

GetNode extracts the node from the environment.

Types

This section is empty.

Jump to

Keyboard shortcuts

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