client

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Config *config.Config
	// contains filtered or unexported fields
}

func (*Client) GetHeader

func (c *Client) GetHeader() base.ReqHeader

func (*Client) GetURL

func (c *Client) GetURL(url string) string

func (*Client) SetAlgorithm

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

func (*Client) Sign

func (c *Client) Sign(data string) string

func (*Client) Verify

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

Directories

Path Synopsis
@Title xuperchainClient @Description @Author zxl 2020/7/22 19:31 @Version 1.0.0 @Update 2020/7/22 19:31 @Title xuperchain_node @Description @Author zxl 2020/7/22 19:32 @Version 1.0.0 @Update 2020/7/22 19:32
@Title xuperchainClient @Description @Author zxl 2020/7/22 19:31 @Version 1.0.0 @Update 2020/7/22 19:31 @Title xuperchain_node @Description @Author zxl 2020/7/22 19:32 @Version 1.0.0 @Update 2020/7/22 19:32

Jump to

Keyboard shortcuts

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