req

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ItemAddress  ItemType = "Address"
	ItemIdentity          = "Identity"
	ItemOutPoint          = "OutPoint"
)
View Source
const (
	IDENTITY_FLAGS_CKB = "0x00"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	Type  ItemType    `json:"type"`
	Value interface{} `json:"value"`
}

func NewAddressItem

func NewAddressItem(addr string) (*Item, error)

func NewIdentityItemByAddress

func NewIdentityItemByAddress(address string) (*Item, error)

func NewIdentityItemByCkb

func NewIdentityItemByCkb(pubKey string) (*Item, error)

func NewOutPointItem added in v1.0.0

func NewOutPointItem(txHash types.Hash, index uint) *Item

type ItemType

type ItemType string

Jump to

Keyboard shortcuts

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