helper

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BigInt added in v0.0.10

type BigInt struct {
	Value big.Int
}

func (BigInt) MarshalJSON added in v0.0.10

func (b BigInt) MarshalJSON() ([]byte, error)

func (*BigInt) MarshalYAML added in v0.0.10

func (b *BigInt) MarshalYAML() (interface{}, error)

func (*BigInt) UnmarshalJSON added in v0.0.10

func (b *BigInt) UnmarshalJSON(p []byte) error

func (*BigInt) UnmarshalYAML added in v0.0.10

func (b *BigInt) UnmarshalYAML(unmarshal func(interface{}) error) error

type Duration added in v0.0.10

type Duration struct {
	time.Duration
}

func (Duration) MarshalJSON added in v0.0.10

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

func (Duration) MarshalText added in v0.0.10

func (d Duration) MarshalText() ([]byte, error)

func (*Duration) Unmarshal added in v0.0.10

func (d *Duration) Unmarshal(s string) (err error)

func (*Duration) UnmarshalJSON added in v0.0.10

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

func (*Duration) UnmarshalText added in v0.0.10

func (d *Duration) UnmarshalText(text []byte) error

type IRawMessage added in v0.0.12

type IRawMessage interface {
	UnmarshalYAML(func(interface{}) error) error
	Unmarshal(interface{}) error
}

type RawMessage

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

func (*RawMessage) MarshalYAML added in v0.0.12

func (r *RawMessage) MarshalYAML() (interface{}, error)

func (*RawMessage) Unmarshal

func (r *RawMessage) Unmarshal(v interface{}) error

func (*RawMessage) UnmarshalYAML

func (r *RawMessage) UnmarshalYAML(unmarshal func(interface{}) error) error

type RawMessageMasked added in v0.0.12

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

func (*RawMessageMasked) Unmarshal added in v0.0.12

func (r *RawMessageMasked) Unmarshal(v interface{}) error

func (*RawMessageMasked) UnmarshalYAML added in v0.0.12

func (r *RawMessageMasked) UnmarshalYAML(unmarshal func(interface{}) error) error

Jump to

Keyboard shortcuts

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