graphql

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT, Apache-2.0 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

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

func UnmarshalHeader

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

func UnmarshalInt

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

func UnmarshalInt16

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

func UnmarshalInt32

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

func UnmarshalInt64

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

func UnmarshalInt8

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

func UnmarshalMap

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

func UnmarshalUint

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

func UnmarshalUint16

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

func MarshalFloat64(any float32) Marshaler

func MarshalHeader

func MarshalHeader(val map[string]string) Marshaler

func MarshalInt

func MarshalInt(i int) Marshaler

func MarshalInt16

func MarshalInt16(any int16) Marshaler

func MarshalInt32

func MarshalInt32(i int32) Marshaler

func MarshalInt64

func MarshalInt64(i int64) Marshaler

func MarshalInt8

func MarshalInt8(any int8) Marshaler

func MarshalMap

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

func MarshalUint

func MarshalUint(any uint) Marshaler

func MarshalUint16

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