serializers

package
v0.0.0-...-e6d60d5 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BytesInterface

type BytesInterface interface{ Bytes() []byte }

type BytesSerializer

type BytesSerializer struct{}

func (BytesSerializer) Scan

func (BytesSerializer) Scan(ctx context.Context, field *schema.Field, dst reflect.Value, dbValue interface{}) error

func (BytesSerializer) Value

func (BytesSerializer) Value(ctx context.Context, field *schema.Field, dst reflect.Value, fieldValue interface{}) (interface{}, error)

type RLPSerializer

type RLPSerializer struct{}

func (RLPSerializer) Scan

func (RLPSerializer) Scan(ctx context.Context, field *schema.Field, dst reflect.Value, dbValue interface{}) error

func (RLPSerializer) Value

func (RLPSerializer) Value(ctx context.Context, field *schema.Field, dst reflect.Value, fieldValue interface{}) (interface{}, error)

type SetBytesInterface

type SetBytesInterface interface{ SetBytes([]byte) }

type U256Serializer

type U256Serializer struct{}

func (U256Serializer) Scan

func (U256Serializer) Scan(ctx context.Context, field *schema.Field, dst reflect.Value, dbValue interface{}) error

func (U256Serializer) Value

func (U256Serializer) Value(ctx context.Context, field *schema.Field, dst reflect.Value, fieldValue interface{}) (interface{}, error)

Jump to

Keyboard shortcuts

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