node

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeClient

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

func NewNodeCli

func NewNodeCli(url string, algorithmType enum.App_AlgorithmType, pri string) (*NodeClient, error)

func (*NodeClient) Call

func (c *NodeClient) Call(method string, req base.ReqInterface, res base.ResInterface) error

func (*NodeClient) SetAlgorithm

func (c *NodeClient) SetAlgorithm(algorithmType enum.App_AlgorithmType, pri string) error

func (*NodeClient) Sign

func (c *NodeClient) Sign(data string) (string, error)

func (*NodeClient) URL

func (n *NodeClient) URL() string

func (*NodeClient) Verify

func (c *NodeClient) Verify(mac, data string) bool

Jump to

Keyboard shortcuts

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