Documentation ¶
Index ¶
- Variables
- func UnmarshalAny(v interface{}) (any.Any, error)
- func UnmarshalBytes(v interface{}) ([]byte, error)
- func UnmarshalFloat32(v interface{}) (float32, error)
- func UnmarshalInt32(v interface{}) (int32, error)
- func UnmarshalInt64(v interface{}) (int64, error)
- func UnmarshalUint32(v interface{}) (uint32, error)
- func UnmarshalUint64(v interface{}) (uint64, error)
- type DummyResolver
- type Field
- func (*Field) Descriptor() ([]byte, []int)
- func (m *Field) GetDirs() string
- func (m *Field) GetParams() string
- func (m *Field) GetRequired() bool
- func (*Field) ProtoMessage()
- func (m *Field) Reset()
- func (m *Field) String() string
- func (m *Field) XXX_DiscardUnknown()
- func (m *Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Field) XXX_Merge(src proto.Message)
- func (m *Field) XXX_Size() int
- func (m *Field) XXX_Unmarshal(b []byte) error
- type Marshaler
- type Type
- type WriterFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var E_Field = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*Field)(nil), Field: 65030, Name: "gql.field", Tag: "bytes,65030,opt,name=field", Filename: "gql.proto", }
View Source
var E_RpcType = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MethodOptions)(nil), ExtensionType: (*Type)(nil), Field: 65030, Name: "gql.rpc_type", Tag: "varint,65030,opt,name=rpc_type,enum=gql.Type", Filename: "gql.proto", }
View Source
var E_SvcType = &proto.ExtensionDesc{ ExtendedType: (*descriptor.ServiceOptions)(nil), ExtensionType: (*Type)(nil), Field: 65030, Name: "gql.svc_type", Tag: "varint,65030,opt,name=svc_type,enum=gql.Type", Filename: "gql.proto", }
View Source
var Type_name = map[int32]string{
0: "DEFAULT",
1: "MUTATION",
2: "QUERY",
}
View Source
var Type_value = map[string]int32{
"DEFAULT": 0,
"MUTATION": 1,
"QUERY": 2,
}
Functions ¶
func UnmarshalAny ¶
func UnmarshalBytes ¶
func UnmarshalFloat32 ¶
func UnmarshalInt32 ¶
func UnmarshalInt64 ¶
func UnmarshalUint32 ¶
func UnmarshalUint64 ¶
Types ¶
type DummyResolver ¶
type DummyResolver struct{}
type Field ¶
type Field struct { Required *bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"` Params *string `protobuf:"bytes,2,opt,name=params" json:"params,omitempty"` Dirs *string `protobuf:"bytes,3,opt,name=dirs" json:"dirs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Field) Descriptor ¶
func (*Field) GetRequired ¶
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) XXX_DiscardUnknown ¶
func (m *Field) XXX_DiscardUnknown()
func (*Field) XXX_Marshal ¶
func (*Field) XXX_Unmarshal ¶
type Marshaler ¶
func MarshalAny ¶
func MarshalBytes ¶
func MarshalFloat32 ¶
func MarshalInt32 ¶
func MarshalInt64 ¶
func MarshalUint32 ¶
func MarshalUint64 ¶
type WriterFunc ¶
func (WriterFunc) MarshalGQL ¶
func (f WriterFunc) MarshalGQL(w io.Writer)
Click to show internal directories.
Click to hide internal directories.