test

package
v0.13.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FloatTransformer

func FloatTransformer(ctx context.Context, signature *domain.Signature, input *gtly.Object, output interface{}) (common.Storable, error)

func IntTransformer

func IntTransformer(ctx context.Context, signature *domain.Signature, input *gtly.Object, output interface{}) (common.Storable, error)

func VOTransformer

func VOTransformer(ctx context.Context, signature *domain.Signature, input *gtly.Object, output interface{}) (common.Storable, error)

Types

type FloatOutput

type FloatOutput struct {
	Value float32
	Sl    string
}

func (*FloatOutput) DecodeBinary

func (p *FloatOutput) DecodeBinary(dec *bintly.Reader) error

func (*FloatOutput) EncodeBinary

func (p *FloatOutput) EncodeBinary(enc *bintly.Writer) error

func (*FloatOutput) IsNil

func (s *FloatOutput) IsNil() bool

func (*FloatOutput) Iterator

func (p *FloatOutput) Iterator() common.Iterator

func (*FloatOutput) MarshalJSONObject

func (s *FloatOutput) MarshalJSONObject(enc *gojay.Encoder)

func (*FloatOutput) Set

func (p *FloatOutput) Set(iter common.Iterator) error

type IntOutput

type IntOutput struct {
	Value int64
	Sl    string
}

func (*IntOutput) DecodeBinary

func (p *IntOutput) DecodeBinary(dec *bintly.Reader) error

func (*IntOutput) EncodeBinary

func (p *IntOutput) EncodeBinary(enc *bintly.Writer) error

func (*IntOutput) IsNil

func (s *IntOutput) IsNil() bool

func (*IntOutput) Iterator

func (p *IntOutput) Iterator() common.Iterator

func (*IntOutput) MarshalJSONObject

func (s *IntOutput) MarshalJSONObject(enc *gojay.Encoder)

func (*IntOutput) Set

func (p *IntOutput) Set(iter common.Iterator) error

type VO

type VO struct {
	Value float32
}

func (*VO) DecodeBinary

func (p *VO) DecodeBinary(dec *bintly.Reader) error

func (*VO) EncodeBinary

func (p *VO) EncodeBinary(enc *bintly.Writer) error

func (*VO) IsNil

func (s *VO) IsNil() bool

func (*VO) Iterator

func (p *VO) Iterator() common.Iterator

func (*VO) MarshalJSONObject

func (s *VO) MarshalJSONObject(enc *gojay.Encoder)

func (*VO) Set

func (p *VO) Set(iter common.Iterator) error

Jump to

Keyboard shortcuts

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