types

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidType = errors.New("invalid input type")
)

Functions

This section is empty.

Types

type KeyManager

type KeyManager struct {
	ServiceName string     `json:"service_name"`
	KeyPairs    []*KeyPair `json:"key_pairs"`
}

type KeyPair

type KeyPair struct {
	PrivateKey         string                 `json:"private_key"`
	PublicKey          string                 `json:"public_key"`
	Address            string                 `json:"address"`
	ExternalData       map[string]interface{} `json:"external_data,omitempty"`
	IsLockExternalData bool                   `json:"is_lock_external_data,omitempty"`
}

type ResponseDataCreateList

type ResponseDataCreateList struct {
	*framework.FieldData
	ServiceName string `json:"service_name"`
	Address     string `json:"address"`
	PublicKey   string `json:"public_key"`
}

Jump to

Keyboard shortcuts

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