extractor

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: Apache-2.0, 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:"rootDomain"`
	RootMember              string   `json:"rootMember"`
	MigrationDaemonsMembers []string `json:"migrationDaemonMembers"`
	MigrationAdminMember    string   `json:"migrationAdminMember"`
	NodeDomain              string   `json:"nodeDomain"`
}

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