gql

package
v0.0.0-...-1f4ee57 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int64

func Int64(v interface{}) int64

func UnmarshalAny

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

func UnmarshalBytes

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

func UnmarshalFloat32

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

func UnmarshalHttpResponse_HeaderEntry

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

func UnmarshalInt32

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

func UnmarshalInt64

func UnmarshalInt64(v interface{}) (int64, 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 any.Any) Marshaler

func MarshalBytes

func MarshalBytes(b []byte) Marshaler

func MarshalFloat32

func MarshalFloat32(any float32) Marshaler

func MarshalHttpResponse_HeaderEntry

func MarshalHttpResponse_HeaderEntry(val map[string]string) Marshaler

func MarshalInt32

func MarshalInt32(any int32) Marshaler

func MarshalInt64

func MarshalInt64(any int64) Marshaler

func MarshalUint32

func MarshalUint32(any uint32) Marshaler

func MarshalUint64

func MarshalUint64(any uint64) Marshaler

func MarshalUint8

func MarshalUint8(any uint8) Marshaler

type Uint32

type Uint32 uint64

func (Uint32) ImplementsGraphQLType

func (Uint32) ImplementsGraphQLType(name string) bool

func (Uint32) MarshalJSON

func (i Uint32) MarshalJSON() ([]byte, error)

func (*Uint32) UnmarshalGraphQL

func (i *Uint32) UnmarshalGraphQL(input interface{}) error

type Uint64

type Uint64 uint64

func (Uint64) ImplementsGraphQLType

func (Uint64) ImplementsGraphQLType(name string) bool

func (Uint64) MarshalJSON

func (i Uint64) MarshalJSON() ([]byte, error)

func (*Uint64) UnmarshalGraphQL

func (i *Uint64) UnmarshalGraphQL(input interface{}) error

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