lotus

package
v0.0.45 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: Apache-2.0, MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPIOpener

func NewAPIOpener(ctx *cli.Context) (*APIOpener, APICloser, error)

func NewAPIOpenerFromCLI added in v0.0.3

func NewAPIOpenerFromCLI(cctx *cli.Context) (*APIOpener, APICloser, error)

func NewGatewayOpener added in v0.0.28

func NewGatewayOpener(ctx *cli.Context) (*GatewayOpener, APICloser, error)

Types

type APICloser

type APICloser func()

type APIOpener

type APIOpener struct {
	// contains filtered or unexported fields
}

func (*APIOpener) Open

func (o *APIOpener) Open(ctx context.Context) (v0api.FullNode, jsonrpc.ClientCloser, error)

type GatewayOpener added in v0.0.28

type GatewayOpener struct {
	// contains filtered or unexported fields
}

func (*GatewayOpener) Open added in v0.0.28

func (o *GatewayOpener) Open(ctx context.Context) (api.Gateway, jsonrpc.ClientCloser, error)

type NodeCloser added in v0.0.3

type NodeCloser func()

func SetupClient added in v0.0.3

func SetupClient(ctx context.Context, cliCtx *cli.Context) (tasks.NodeConfig, v0api.FullNode, NodeCloser, error)

func SetupClientFromCLI added in v0.0.3

func SetupClientFromCLI(cctx *cli.Context) (tasks.NodeConfig, v0api.FullNode, NodeCloser, error)

func SetupGateway added in v0.0.28

func SetupGateway(ctx *cli.Context) (api.Gateway, NodeCloser, error)

Jump to

Keyboard shortcuts

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