gqlutil

package module
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: MIT Imports: 7 Imported by: 0

README

gqlutil

Go Reference test Go Report Card

Installation

go get github.com/m0t0k1ch1-go/gqlutil

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EthAddress added in v1.2.0

type EthAddress ethcommon.Address

EthAddress is a custom scalar for github.com/ethereum/go-ethereum/common.Address.

func (EthAddress) MarshalGQL added in v1.2.0

func (g EthAddress) MarshalGQL(w io.Writer)

MarshalGQL implements the github.com/99designs/gqlgen/graphql.Marshaler interface.

func (EthAddress) String added in v1.2.0

func (g EthAddress) String() string

String implements the fmt.Stringer interface.

func (*EthAddress) UnmarshalGQL added in v1.2.0

func (g *EthAddress) UnmarshalGQL(v any) error

UnmarshalGQL implements the github.com/99designs/gqlgen/graphql.Unmarshaler interface.

func (EthAddress) Unwrap added in v1.2.0

func (g EthAddress) Unwrap() ethcommon.Address

Unwrap returns the github.com/ethereum/go-ethereum/common.Address.

type Int64

type Int64 int64

Int64 is a custom scalar for int64.

func (Int64) MarshalGQL added in v1.1.0

func (g Int64) MarshalGQL(w io.Writer)

MarshalGQL implements the github.com/99designs/gqlgen/graphql.Marshaler interface.

func (Int64) String

func (g Int64) String() string

String implements the fmt.Stringer interface.

func (*Int64) UnmarshalGQL added in v1.1.0

func (g *Int64) UnmarshalGQL(v any) error

UnmarshalGQL implements the github.com/99designs/gqlgen/graphql.Unmarshaler interface.

func (Int64) Unwrap added in v1.2.0

func (g Int64) Unwrap() int64

Unwrap returns the int64.

type Timestamp added in v1.5.0

type Timestamp timeutil.Timestamp

Timestamp is a custom scalar for github.com/m0t0k1ch1-go/timeutil/v4.Timestamp.

func (Timestamp) MarshalGQL added in v1.5.0

func (g Timestamp) MarshalGQL(w io.Writer)

MarshalGQL implements the github.com/99designs/gqlgen/graphql.Marshaler interface.

func (Timestamp) String added in v1.5.0

func (g Timestamp) String() string

String implements the fmt.Stringer interface.

func (*Timestamp) UnmarshalGQL added in v1.5.0

func (g *Timestamp) UnmarshalGQL(v any) error

UnmarshalGQL implements the github.com/99designs/gqlgen/graphql.Unmarshaler interface.

func (Timestamp) Unwrap added in v1.5.0

func (g Timestamp) Unwrap() timeutil.Timestamp

Unwrap returns the github.com/m0t0k1ch1-go/timeutil/v4.Timestamp.

type Uint64

type Uint64 uint64

Uint64 is a custom scalar for uint64.

func (Uint64) MarshalGQL added in v1.1.0

func (g Uint64) MarshalGQL(w io.Writer)

MarshalGQL implements the github.com/99designs/gqlgen/graphql.Marshaler interface.

func (Uint64) String

func (g Uint64) String() string

String implements the fmt.Stringer interface.

func (*Uint64) UnmarshalGQL added in v1.1.0

func (g *Uint64) UnmarshalGQL(v any) error

UnmarshalGQL implements the github.com/99designs/gqlgen/graphql.Unmarshaler interface.

func (Uint64) Unwrap added in v1.2.0

func (g Uint64) Unwrap() uint64

Unwrap returns the uint64.

type Uint256 added in v1.3.0

type Uint256 bigutil.Uint256

Uint256 is a custom scalar for bigutil.Uint256.

func (Uint256) MarshalGQL added in v1.3.0

func (g Uint256) MarshalGQL(w io.Writer)

MarshalGQL implements the github.com/99designs/gqlgen/graphql.Marshaler interface.

func (Uint256) String added in v1.3.0

func (g Uint256) String() string

String implements the fmt.Stringer interface.

func (*Uint256) UnmarshalGQL added in v1.3.0

func (g *Uint256) UnmarshalGQL(v any) error

UnmarshalGQL implements the github.com/99designs/gqlgen/graphql.Unmarshaler interface.

func (Uint256) Unwrap added in v1.3.0

func (g Uint256) Unwrap() bigutil.Uint256

Unwrap returns the bigutil.Uint256.

Jump to

Keyboard shortcuts

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