extractor

package
v0.7.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallResponse

func CallResponse(data []byte) (interface{}, *foundation.Error, error)

CallResponse extracts response of Call

func NodeInfoResponse added in v0.7.5

func NodeInfoResponse(data []byte) (string, string, error)

NodeInfoResponse extracts response of GetNodeInfo

func PublicKeyResponse

func PublicKeyResponse(data []byte) (string, error)

PublicKeyResponse extracts response of GetPublicKey

Types

type Info

type Info struct {
	RootDomain string `json:"root_domain"`
	RootMember string `json:"root_member"`
	NodeDomain string `json:"node_domain"`
}

InfoResponse represents response from Info() method of RootDomain contract

func InfoResponse

func InfoResponse(data []byte) (*Info, error)

InfoResponse returns response from Info() method of RootDomain contract

Jump to

Keyboard shortcuts

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