types

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalAny

func MarshalAny(any *anypb.Any) graphql.Marshaler

TODO create mapping for proto to graphql types to unmarshal any

func MarshalBytes

func MarshalBytes(b []byte) graphql.Marshaler

func MarshalFloat32

func MarshalFloat32(any float32) graphql.Marshaler

func MarshalUint32

func MarshalUint32(i uint32) graphql.Marshaler

func MarshalUint64

func MarshalUint64(i uint64) graphql.Marshaler

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 UnmarshalUint32

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

func UnmarshalUint64

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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