gql

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnmarshalAny

func UnmarshalAny(v interface{}) (anypb.Any, error)

func UnmarshalBytes

func UnmarshalBytes(v interface{}) ([]byte, error)

func UnmarshalFloat32

func UnmarshalFloat32(v interface{}) (float32, error)

func UnmarshalFloat64 added in v1.1.0

func UnmarshalFloat64(v interface{}) (float64, error)

func UnmarshalHeader added in v1.1.0

func UnmarshalHeader(v interface{}) (map[string]string, error)

func UnmarshalInt added in v1.1.0

func UnmarshalInt(v interface{}) (int, error)

func UnmarshalInt16 added in v1.1.0

func UnmarshalInt16(v interface{}) (int16, error)

func UnmarshalInt32

func UnmarshalInt32(v interface{}) (int32, error)

func UnmarshalInt64

func UnmarshalInt64(v interface{}) (int64, error)

func UnmarshalInt8 added in v1.1.0

func UnmarshalInt8(v interface{}) (int8, error)

func UnmarshalMap added in v1.1.0

func UnmarshalMap(v interface{}) (map[string]interface{}, error)

func UnmarshalUint added in v1.1.0

func UnmarshalUint(v interface{}) (uint, error)

func UnmarshalUint16 added in v1.1.0

func UnmarshalUint16(v interface{}) (uint16, error)

func UnmarshalUint32

func UnmarshalUint32(v interface{}) (uint32, error)

func UnmarshalUint64

func UnmarshalUint64(v interface{}) (uint64, error)

func UnmarshalUint8

func UnmarshalUint8(v interface{}) (uint8, error)

Types

type DummyResolver

type DummyResolver struct{}

func (*DummyResolver) Dummy

func (r *DummyResolver) Dummy(ctx context.Context) (*bool, error)

type Marshaler

type Marshaler interface {
	MarshalGQL(w io.Writer)
}

func MarshalAny

func MarshalAny(any anypb.Any) Marshaler

func MarshalBytes

func MarshalBytes(b []byte) Marshaler

func MarshalFloat32

func MarshalFloat32(any float32) Marshaler

func MarshalFloat64 added in v1.1.0

func MarshalFloat64(any float32) Marshaler

func MarshalHeader added in v1.1.0

func MarshalHeader(val map[string]string) Marshaler

func MarshalInt added in v1.1.0

func MarshalInt(i int) Marshaler

func MarshalInt16 added in v1.1.0

func MarshalInt16(any int16) Marshaler

func MarshalInt32

func MarshalInt32(i int32) Marshaler

func MarshalInt64

func MarshalInt64(i int64) Marshaler

func MarshalInt8 added in v1.1.0

func MarshalInt8(any int8) Marshaler

func MarshalMap added in v1.1.0

func MarshalMap(val map[string]interface{}) Marshaler

func MarshalUint added in v1.1.0

func MarshalUint(any uint) Marshaler

func MarshalUint16 added in v1.1.0

func MarshalUint16(any uint16) Marshaler

func MarshalUint32

func MarshalUint32(any uint32) Marshaler

func MarshalUint64

func MarshalUint64(i uint64) Marshaler

func MarshalUint8

func MarshalUint8(any uint8) Marshaler

type WriterFunc

type WriterFunc func(writer io.Writer)

func (WriterFunc) MarshalGQL

func (f WriterFunc) MarshalGQL(w io.Writer)

Jump to

Keyboard shortcuts

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