node

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package node implements the node API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg perun.NodeConfig) (perun.NodeAPI, error)

New returns a perun NodeAPI instance initialized using the given config. This should be called only once, subsequent calls after the first non error response will return an error.

Types

type Error added in v0.6.0

type Error string

Error type is used to define error constants for this package.

func (Error) Error added in v0.6.0

func (e Error) Error() string

Error implements error interface.

Directories

Path Synopsis
Package nodetest implements test helpers for functionalities defined in node.
Package nodetest implements test helpers for functionalities defined in node.

Jump to

Keyboard shortcuts

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