data

package
v0.0.0-...-a423d60 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrdOperationData

type OrdOperationData struct {
	ApplicationID         string `json:"applicationID"`
	ApplicationTemplateID string `json:"applicationTemplateID"`
}

OrdOperationData represents ord operation data.

func NewOrdOperationData

func NewOrdOperationData(appID, appTemplateID string) *OrdOperationData

NewOrdOperationData creates new OrdOperationData.

func ParseOrdOperationData

func ParseOrdOperationData(data []byte) (*OrdOperationData, error)

ParseOrdOperationData creates new OrdOperationData from byte array.

func (*OrdOperationData) Equal

func (b *OrdOperationData) Equal(other *OrdOperationData) bool

Equal returns true if current data content is the same as other's data content

func (*OrdOperationData) GetData

func (b *OrdOperationData) GetData() (string, error)

GetData builds ord operation data

Jump to

Keyboard shortcuts

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