tss_client

package
v0.0.0-...-5cda5f8 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JwtSecretLength = 32
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(url string, jwtSecretStr string) (*Client, error)

func (*Client) GetSignStateBatch

func (c *Client) GetSignStateBatch(BatchData common.SignStateRequest) ([]byte, error)

type TssClient

type TssClient interface {
	GetSignStateBatch(BatchData common.SignStateRequest) ([]byte, error)
}

type TssResponse

type TssResponse struct {
	Signature []byte `json:"signature"`
	RollBack  bool   `json:"roll_back"`
}

Jump to

Keyboard shortcuts

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