Versions in this module Expand all Collapse all v0 v0.1.2 Jan 27, 2021 v0.1.1 Jan 27, 2021 Changes in this version + var File_graphrpc_proto protoreflect.FileDescriptor + func RegisterGraphRPCServer(s *grpc.Server, srv GraphRPCServer) + type Error struct + Locations []*Location + Message string + Path []string + func (*Error) Descriptor() ([]byte, []int) + func (*Error) ProtoMessage() + func (x *Error) GetLocations() []*Location + func (x *Error) GetMessage() string + func (x *Error) GetPath() []string + func (x *Error) ProtoReflect() protoreflect.Message + func (x *Error) Reset() + func (x *Error) String() string + type ExecRequest struct + OperationName string + Query string + Variables []byte + func (*ExecRequest) Descriptor() ([]byte, []int) + func (*ExecRequest) ProtoMessage() + func (x *ExecRequest) GetOperationName() string + func (x *ExecRequest) GetQuery() string + func (x *ExecRequest) GetVariables() []byte + func (x *ExecRequest) ProtoReflect() protoreflect.Message + func (x *ExecRequest) Reset() + func (x *ExecRequest) String() string + type ExecResponse struct + Data []byte + Errors []*Error + func (*ExecResponse) Descriptor() ([]byte, []int) + func (*ExecResponse) ProtoMessage() + func (x *ExecResponse) GetData() []byte + func (x *ExecResponse) GetErrors() []*Error + func (x *ExecResponse) ProtoReflect() protoreflect.Message + func (x *ExecResponse) Reset() + func (x *ExecResponse) String() string + type GraphRPCClient interface + Exec func(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error) + func NewGraphRPCClient(cc grpc.ClientConnInterface) GraphRPCClient + type GraphRPCServer interface + Exec func(context.Context, *ExecRequest) (*ExecResponse, error) + type Location struct + Column int32 + Line int32 + func (*Location) Descriptor() ([]byte, []int) + func (*Location) ProtoMessage() + func (x *Location) GetColumn() int32 + func (x *Location) GetLine() int32 + func (x *Location) ProtoReflect() protoreflect.Message + func (x *Location) Reset() + func (x *Location) String() string + type UnimplementedGraphRPCServer struct + func (*UnimplementedGraphRPCServer) Exec(context.Context, *ExecRequest) (*ExecResponse, error)