opreturn

package
v1.0.0-beta.27 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataType

type DataType int
const (
	DataTypeDefault DataType = iota
	DataTypeStrings
	DataTypeHexes
)

func (DataType) MarshalJSON

func (d DataType) MarshalJSON() ([]byte, error)

MarshalJSON custom marshaler for DataType Enum

func (*DataType) UnmarshalJSON

func (d *DataType) UnmarshalJSON(data []byte) error

UnmarshalJSON custom unmarshaler for DataTypeEnum

type Output

type Output struct {
	DataType DataType `json:"dataType,omitempty"`
	Data     []string `json:"data"`
}

func (Output) GetType

func (o Output) GetType() string

Jump to

Keyboard shortcuts

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