Documentation ¶
Index ¶
- Variables
- func MarshalBar(x Bar) graphql.Marshaler
- func MarshalRef_Foo_Bar_En(x Ref_Foo_Bar_En) graphql.Marshaler
- func MarshalRef_Foo_En(x Ref_Foo_En) graphql.Marshaler
- func RegisterConstructsServer(s grpc.ServiceRegistrar, srv ConstructsServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
- func RegisterTestServer(s grpc.ServiceRegistrar, srv TestServer)
- type Any
- type AnyInput
- type Bar
- type Baz
- type BazInput
- type ConstructsClient
- type ConstructsResolvers
- func (s *ConstructsResolvers) ConstructsAny(ctx context.Context, in *anypb.Any) (*Any, error)
- func (s *ConstructsResolvers) ConstructsCallWithID(ctx context.Context) (*bool, error)
- func (s *ConstructsResolvers) ConstructsEmpty(ctx context.Context) (*bool, error)
- func (s *ConstructsResolvers) ConstructsEmpty2(ctx context.Context) (*bool, error)
- func (s *ConstructsResolvers) ConstructsEmpty3(ctx context.Context) (*bool, error)
- func (s *ConstructsResolvers) ConstructsMaps(ctx context.Context, in *Maps) (*Maps, error)
- func (s *ConstructsResolvers) ConstructsOneof(ctx context.Context, in *Oneof) (*Oneof, error)
- func (s *ConstructsResolvers) ConstructsRef(ctx context.Context, in *Ref) (*Ref, error)
- func (s *ConstructsResolvers) ConstructsRepeated(ctx context.Context, in *Repeated) (*Repeated, error)
- func (s *ConstructsResolvers) ConstructsScalars(ctx context.Context, in *Scalars) (*Scalars, error)
- type ConstructsServer
- type Data
- func (*Data) Descriptor() ([]byte, []int)deprecated
- func (x *Data) GetBar() string
- func (x *Data) GetDouble() []float64
- func (x *Data) GetDouble2() []float64
- func (x *Data) GetFoo() *Foo2
- func (x *Data) GetFoo2() *Foo2
- func (x *Data) GetIgnore() string
- func (m *Data) GetOneof() isData_Oneof
- func (m *Data) GetOneof2() isData_Oneof2
- func (x *Data) GetParam1() string
- func (x *Data) GetParam2() string
- func (x *Data) GetParam3() string
- func (x *Data) GetString2() string
- func (x *Data) GetStringX() string
- func (x *Data) GetString_() string
- func (*Data) ProtoMessage()
- func (x *Data) ProtoReflect() protoreflect.Message
- func (x *Data) Reset()
- func (x *Data) String() string
- type DataInput
- type DataInputResolvers
- type DataResolvers
- type Data_Oneof
- type Data_Param1
- type Data_Param2
- type Data_Param3
- type Empty
- type Empty3
- type Empty3Input
- type Empty3_Int
- type Empty3_IntInput
- type EmptyInput
- type EmptyNested
- type EmptyNestedInput
- type EmptyNested_EmptyNested1
- func (*EmptyNested_EmptyNested1) Descriptor() ([]byte, []int)deprecated
- func (x *EmptyNested_EmptyNested1) GetNested2() *EmptyNested_EmptyNested1_EmptyNested2
- func (*EmptyNested_EmptyNested1) ProtoMessage()
- func (x *EmptyNested_EmptyNested1) ProtoReflect() protoreflect.Message
- func (x *EmptyNested_EmptyNested1) Reset()
- func (x *EmptyNested_EmptyNested1) String() string
- type EmptyNested_EmptyNested1Input
- type EmptyNested_EmptyNested1_EmptyNested2
- func (*EmptyNested_EmptyNested1_EmptyNested2) Descriptor() ([]byte, []int)deprecated
- func (*EmptyNested_EmptyNested1_EmptyNested2) ProtoMessage()
- func (x *EmptyNested_EmptyNested1_EmptyNested2) ProtoReflect() protoreflect.Message
- func (x *EmptyNested_EmptyNested1_EmptyNested2) Reset()
- func (x *EmptyNested_EmptyNested1_EmptyNested2) String() string
- type EmptyNested_EmptyNested1_EmptyNested2Input
- type EmptyRecursive
- func (*EmptyRecursive) Descriptor() ([]byte, []int)deprecated
- func (x *EmptyRecursive) GetEmpty() *EmptyRecursive
- func (x *EmptyRecursive) GetNested1() *emptypb.Empty
- func (*EmptyRecursive) ProtoMessage()
- func (x *EmptyRecursive) ProtoReflect() protoreflect.Message
- func (x *EmptyRecursive) Reset()
- func (x *EmptyRecursive) String() string
- type EmptyRecursiveInput
- type Foo
- type Foo2
- type Foo2Input
- type FooInput
- type Foo_Foo2
- type Foo_Foo2Input
- type Maps
- func (*Maps) Descriptor() ([]byte, []int)deprecated
- func (x *Maps) GetBoolBool() map[bool]bool
- func (x *Maps) GetFixed32Fixed32() map[uint32]uint32
- func (x *Maps) GetFixed64Fixed64() map[uint64]uint64
- func (x *Maps) GetInt32Int32() map[int32]int32
- func (x *Maps) GetInt64Int64() map[int64]int64
- func (x *Maps) GetSfixed32Sfixed32() map[int32]int32
- func (x *Maps) GetSfixed64Sfixed64() map[int64]int64
- func (x *Maps) GetSint32Sint32() map[int32]int32
- func (x *Maps) GetSint64Sint64() map[int64]int64
- func (x *Maps) GetStringBar() map[string]Bar
- func (x *Maps) GetStringBytes() map[string][]byte
- func (x *Maps) GetStringDouble() map[string]float64
- func (x *Maps) GetStringFloat() map[string]float32
- func (x *Maps) GetStringFoo() map[string]*Foo
- func (x *Maps) GetStringString() map[string]string
- func (x *Maps) GetUint32Uint32() map[uint32]uint32
- func (x *Maps) GetUint64Uint64() map[uint64]uint64
- func (*Maps) ProtoMessage()
- func (x *Maps) ProtoReflect() protoreflect.Message
- func (x *Maps) Reset()
- func (x *Maps) String() string
- type MapsInput
- type MapsInputResolvers
- func (m MapsInputResolvers) BoolBool(_ context.Context, obj *Maps, data []*Maps_BoolBoolEntry) error
- func (m MapsInputResolvers) Fixed32Fixed32(_ context.Context, obj *Maps, data []*Maps_Fixed32Fixed32Entry) error
- func (m MapsInputResolvers) Fixed64Fixed64(_ context.Context, obj *Maps, data []*Maps_Fixed64Fixed64Entry) error
- func (m MapsInputResolvers) Int32Int32(_ context.Context, obj *Maps, data []*Maps_Int32Int32Entry) error
- func (m MapsInputResolvers) Int64Int64(_ context.Context, obj *Maps, data []*Maps_Int64Int64Entry) error
- func (m MapsInputResolvers) Sfixed32Sfixed32(_ context.Context, obj *Maps, data []*Maps_Sfixed32Sfixed32Entry) error
- func (m MapsInputResolvers) Sfixed64Sfixed64(_ context.Context, obj *Maps, data []*Maps_Sfixed64Sfixed64Entry) error
- func (m MapsInputResolvers) Sint32Sint32(_ context.Context, obj *Maps, data []*Maps_Sint32Sint32Entry) error
- func (m MapsInputResolvers) Sint64Sint64(_ context.Context, obj *Maps, data []*Maps_Sint64Sint64Entry) error
- func (m MapsInputResolvers) StringBar(_ context.Context, obj *Maps, data []*Maps_StringBarEntry) error
- func (m MapsInputResolvers) StringBytes(_ context.Context, obj *Maps, data []*Maps_StringBytesEntry) error
- func (m MapsInputResolvers) StringDouble(_ context.Context, obj *Maps, data []*Maps_StringDoubleEntry) error
- func (m MapsInputResolvers) StringFloat(_ context.Context, obj *Maps, data []*Maps_StringFloatEntry) error
- func (m MapsInputResolvers) StringFoo(_ context.Context, obj *Maps, data []*Maps_StringFooEntry) error
- func (m MapsInputResolvers) StringString(_ context.Context, obj *Maps, data []*Maps_StringStringEntry) error
- func (m MapsInputResolvers) Uint32Uint32(_ context.Context, obj *Maps, data []*Maps_Uint32Uint32Entry) error
- func (m MapsInputResolvers) Uint64Uint64(_ context.Context, obj *Maps, data []*Maps_Uint64Uint64Entry) error
- type MapsResolvers
- func (r MapsResolvers) BoolBool(_ context.Context, obj *Maps) (list []*Maps_BoolBoolEntry, _ error)
- func (r MapsResolvers) Fixed32Fixed32(_ context.Context, obj *Maps) (list []*Maps_Fixed32Fixed32Entry, _ error)
- func (r MapsResolvers) Fixed64Fixed64(_ context.Context, obj *Maps) (list []*Maps_Fixed64Fixed64Entry, _ error)
- func (r MapsResolvers) Int32Int32(_ context.Context, obj *Maps) (list []*Maps_Int32Int32Entry, _ error)
- func (r MapsResolvers) Int64Int64(_ context.Context, obj *Maps) (list []*Maps_Int64Int64Entry, _ error)
- func (r MapsResolvers) Sfixed32Sfixed32(_ context.Context, obj *Maps) (list []*Maps_Sfixed32Sfixed32Entry, _ error)
- func (r MapsResolvers) Sfixed64Sfixed64(_ context.Context, obj *Maps) (list []*Maps_Sfixed64Sfixed64Entry, _ error)
- func (r MapsResolvers) Sint32Sint32(_ context.Context, obj *Maps) (list []*Maps_Sint32Sint32Entry, _ error)
- func (r MapsResolvers) Sint64Sint64(_ context.Context, obj *Maps) (list []*Maps_Sint64Sint64Entry, _ error)
- func (r MapsResolvers) StringBar(_ context.Context, obj *Maps) (list []*Maps_StringBarEntry, _ error)
- func (r MapsResolvers) StringBytes(_ context.Context, obj *Maps) (list []*Maps_StringBytesEntry, _ error)
- func (r MapsResolvers) StringDouble(_ context.Context, obj *Maps) (list []*Maps_StringDoubleEntry, _ error)
- func (r MapsResolvers) StringFloat(_ context.Context, obj *Maps) (list []*Maps_StringFloatEntry, _ error)
- func (r MapsResolvers) StringFoo(_ context.Context, obj *Maps) (list []*Maps_StringFooEntry, _ error)
- func (r MapsResolvers) StringString(_ context.Context, obj *Maps) (list []*Maps_StringStringEntry, _ error)
- func (r MapsResolvers) Uint32Uint32(_ context.Context, obj *Maps) (list []*Maps_Uint32Uint32Entry, _ error)
- func (r MapsResolvers) Uint64Uint64(_ context.Context, obj *Maps) (list []*Maps_Uint64Uint64Entry, _ error)
- type Maps_BoolBoolEntry
- type Maps_BoolBoolEntryInput
- type Maps_Fixed32Fixed32Entry
- type Maps_Fixed32Fixed32EntryInput
- type Maps_Fixed64Fixed64Entry
- type Maps_Fixed64Fixed64EntryInput
- type Maps_Int32Int32Entry
- type Maps_Int32Int32EntryInput
- type Maps_Int64Int64Entry
- type Maps_Int64Int64EntryInput
- type Maps_Sfixed32Sfixed32Entry
- type Maps_Sfixed32Sfixed32EntryInput
- type Maps_Sfixed64Sfixed64Entry
- type Maps_Sfixed64Sfixed64EntryInput
- type Maps_Sint32Sint32Entry
- type Maps_Sint32Sint32EntryInput
- type Maps_Sint64Sint64Entry
- type Maps_Sint64Sint64EntryInput
- type Maps_StringBarEntry
- type Maps_StringBarEntryInput
- type Maps_StringBytesEntry
- type Maps_StringBytesEntryInput
- type Maps_StringDoubleEntry
- type Maps_StringDoubleEntryInput
- type Maps_StringFloatEntry
- type Maps_StringFloatEntryInput
- type Maps_StringFooEntry
- type Maps_StringFooEntryInput
- type Maps_StringStringEntry
- type Maps_StringStringEntryInput
- type Maps_Uint32Uint32Entry
- type Maps_Uint32Uint32EntryInput
- type Maps_Uint64Uint64Entry
- type Maps_Uint64Uint64EntryInput
- type Oneof
- func (*Oneof) Descriptor() ([]byte, []int)deprecated
- func (m *Oneof) GetOneof1() isOneof_Oneof1
- func (m *Oneof) GetOneof2() isOneof_Oneof2
- func (m *Oneof) GetOneof3() isOneof_Oneof3
- func (x *Oneof) GetParam1() string
- func (x *Oneof) GetParam2() string
- func (x *Oneof) GetParam3() string
- func (x *Oneof) GetParam4() string
- func (x *Oneof) GetParam5() string
- func (x *Oneof) GetParam6() string
- func (*Oneof) ProtoMessage()
- func (x *Oneof) ProtoReflect() protoreflect.Message
- func (x *Oneof) Reset()
- func (x *Oneof) String() string
- type OneofInput
- type OneofInputResolvers
- func (o OneofInputResolvers) Param2(_ context.Context, obj *Oneof, data *string) error
- func (o OneofInputResolvers) Param3(_ context.Context, obj *Oneof, data *string) error
- func (o OneofInputResolvers) Param4(_ context.Context, obj *Oneof, data *string) error
- func (o OneofInputResolvers) Param5(_ context.Context, obj *Oneof, data *string) error
- func (o OneofInputResolvers) Param6(_ context.Context, obj *Oneof, data *string) error
- type OneofResolvers
- type Oneof_Oneof1
- type Oneof_Oneof2
- type Oneof_Oneof3
- type Oneof_Param2
- type Oneof_Param3
- type Oneof_Param4
- type Oneof_Param5
- type Oneof_Param6
- type QueryClient
- type QueryResolvers
- type QueryServer
- type Query_SubscribeClient
- type Query_SubscribeServer
- type Ref
- func (*Ref) Descriptor() ([]byte, []int)deprecated
- func (x *Ref) GetEmpty() *emptypb.Empty
- func (x *Ref) GetEn1() Ref_Foo_En
- func (x *Ref) GetEn2() Ref_Foo_Bar_En
- func (x *Ref) GetExternal() *timestamppb.Timestamp
- func (x *Ref) GetFile() *Baz
- func (x *Ref) GetFileEnum() Bar
- func (x *Ref) GetFileMsg() *Foo
- func (x *Ref) GetForeign() *Foo_Foo2
- func (x *Ref) GetGz() *Ref_Foo_Baz_Gz
- func (x *Ref) GetLocal() *Ref_Foo
- func (x *Ref) GetLocalTime() *Timestamp
- func (x *Ref) GetLocalTime2() *Timestamp
- func (*Ref) ProtoMessage()
- func (x *Ref) ProtoReflect() protoreflect.Message
- func (x *Ref) Reset()
- func (x *Ref) String() string
- type RefInput
- type Ref_Bar
- type Ref_BarInput
- type Ref_Foo
- func (*Ref_Foo) Descriptor() ([]byte, []int)deprecated
- func (x *Ref_Foo) GetBar1() *Ref_Foo_Bar
- func (x *Ref_Foo) GetBar2() *Ref_Bar
- func (x *Ref_Foo) GetEn1() Ref_Foo_En
- func (x *Ref_Foo) GetEn2() Ref_Foo_Bar_En
- func (x *Ref_Foo) GetExternalTime1() *timestamppb.Timestamp
- func (x *Ref_Foo) GetLocalTime2() *Timestamp
- func (*Ref_Foo) ProtoMessage()
- func (x *Ref_Foo) ProtoReflect() protoreflect.Message
- func (x *Ref_Foo) Reset()
- func (x *Ref_Foo) String() string
- type Ref_FooInput
- type Ref_Foo_Bar
- type Ref_Foo_BarInput
- type Ref_Foo_Bar_En
- func (Ref_Foo_Bar_En) Descriptor() protoreflect.EnumDescriptor
- func (x Ref_Foo_Bar_En) Enum() *Ref_Foo_Bar_En
- func (Ref_Foo_Bar_En) EnumDescriptor() ([]byte, []int)deprecated
- func (x Ref_Foo_Bar_En) Number() protoreflect.EnumNumber
- func (x Ref_Foo_Bar_En) String() string
- func (Ref_Foo_Bar_En) Type() protoreflect.EnumType
- type Ref_Foo_Baz
- type Ref_Foo_BazInput
- type Ref_Foo_Baz_Gz
- type Ref_Foo_Baz_GzInput
- type Ref_Foo_En
- type Repeated
- func (*Repeated) Descriptor() ([]byte, []int)deprecated
- func (x *Repeated) GetBar() []Bar
- func (x *Repeated) GetBool() []bool
- func (x *Repeated) GetBytes() [][]byte
- func (x *Repeated) GetDouble() []float64
- func (x *Repeated) GetFixed32() []uint32
- func (x *Repeated) GetFixed64() []uint64
- func (x *Repeated) GetFloat() []float32
- func (x *Repeated) GetFoo() []*Foo
- func (x *Repeated) GetInt32() []int32
- func (x *Repeated) GetInt64() []int64
- func (x *Repeated) GetSfixed32() []int32
- func (x *Repeated) GetSfixed64() []int64
- func (x *Repeated) GetSint32() []int32
- func (x *Repeated) GetSint64() []int64
- func (x *Repeated) GetStringX() []string
- func (x *Repeated) GetUint32() []uint32
- func (x *Repeated) GetUint64() []uint64
- func (*Repeated) ProtoMessage()
- func (x *Repeated) ProtoReflect() protoreflect.Message
- func (x *Repeated) Reset()
- func (x *Repeated) String() string
- type RepeatedInput
- type Scalars
- func (*Scalars) Descriptor() ([]byte, []int)deprecated
- func (x *Scalars) GetBool() bool
- func (x *Scalars) GetBytes() []byte
- func (x *Scalars) GetDouble() float64
- func (x *Scalars) GetFixed32() uint32
- func (x *Scalars) GetFixed64() uint64
- func (x *Scalars) GetFloat() float32
- func (x *Scalars) GetInt32() int32
- func (x *Scalars) GetInt64() int64
- func (x *Scalars) GetSfixed32() int32
- func (x *Scalars) GetSfixed64() int64
- func (x *Scalars) GetSint32() int32
- func (x *Scalars) GetSint64() int64
- func (x *Scalars) GetStringOptional() string
- func (x *Scalars) GetStringX() string
- func (x *Scalars) GetUint32() uint32
- func (x *Scalars) GetUint64() uint64
- func (*Scalars) ProtoMessage()
- func (x *Scalars) ProtoReflect() protoreflect.Message
- func (x *Scalars) Reset()
- func (x *Scalars) String() string
- type ScalarsInput
- type ServiceClient
- type ServiceResolvers
- func (s *ServiceResolvers) NewName(ctx context.Context, in *Data) (*Data, error)
- func (s *ServiceResolvers) ServiceMutate1(ctx context.Context, in *Data) (*Data, error)
- func (s *ServiceResolvers) ServiceMutate2(ctx context.Context, in *Data) (*Data, error)
- func (s *ServiceResolvers) ServiceQuery1(ctx context.Context, in *Data) (*Data, error)
- type ServiceServer
- type Service_InvalidSubscribe1Client
- type Service_InvalidSubscribe1Server
- type Service_InvalidSubscribe2Client
- type Service_InvalidSubscribe2Server
- type Service_InvalidSubscribe3Client
- type Service_InvalidSubscribe3Server
- type Service_PubSub1Client
- type Service_PubSub1Server
- type Service_PubSub2Client
- type Service_PubSub2Server
- type Service_PublishClient
- type Service_PublishServer
- type Service_SubscribeClient
- type Service_SubscribeServer
- type TestClient
- type TestResolvers
- type TestServer
- type Timestamp
- type TimestampInput
- type UnimplementedConstructsServer
- func (UnimplementedConstructsServer) Any_(context.Context, *anypb.Any) (*Any, error)
- func (UnimplementedConstructsServer) CallWithId(context.Context, *Empty) (*Empty, error)
- func (UnimplementedConstructsServer) Empty2_(context.Context, *EmptyRecursive) (*EmptyNested, error)
- func (UnimplementedConstructsServer) Empty3_(context.Context, *Empty3) (*Empty3, error)
- func (UnimplementedConstructsServer) Empty_(context.Context, *emptypb.Empty) (*Empty, error)
- func (UnimplementedConstructsServer) Maps_(context.Context, *Maps) (*Maps, error)
- func (UnimplementedConstructsServer) Oneof_(context.Context, *Oneof) (*Oneof, error)
- func (UnimplementedConstructsServer) Ref_(context.Context, *Ref) (*Ref, error)
- func (UnimplementedConstructsServer) Repeated_(context.Context, *Repeated) (*Repeated, error)
- func (UnimplementedConstructsServer) Scalars_(context.Context, *Scalars) (*Scalars, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) Mutate1(context.Context, *Data) (*Data, error)
- func (UnimplementedQueryServer) Query1(context.Context, *Data) (*Data, error)
- func (UnimplementedQueryServer) Query2(context.Context, *Data) (*Data, error)
- func (UnimplementedQueryServer) Subscribe(*Data, Query_SubscribeServer) error
- type UnimplementedServiceServer
- func (UnimplementedServiceServer) Ignore(context.Context, *Data) (*Data, error)
- func (UnimplementedServiceServer) InvalidSubscribe1(Service_InvalidSubscribe1Server) error
- func (UnimplementedServiceServer) InvalidSubscribe2(*Data, Service_InvalidSubscribe2Server) error
- func (UnimplementedServiceServer) InvalidSubscribe3(Service_InvalidSubscribe3Server) error
- func (UnimplementedServiceServer) Mutate1(context.Context, *Data) (*Data, error)
- func (UnimplementedServiceServer) Mutate2(context.Context, *Data) (*Data, error)
- func (UnimplementedServiceServer) Name(context.Context, *Data) (*Data, error)
- func (UnimplementedServiceServer) PubSub1(Service_PubSub1Server) error
- func (UnimplementedServiceServer) PubSub2(Service_PubSub2Server) error
- func (UnimplementedServiceServer) Publish(Service_PublishServer) error
- func (UnimplementedServiceServer) Query1(context.Context, *Data) (*Data, error)
- func (UnimplementedServiceServer) Subscribe(*Data, Service_SubscribeServer) error
- type UnimplementedTestServer
- type UnsafeConstructsServer
- type UnsafeQueryServer
- type UnsafeServiceServer
- type UnsafeTestServer
Constants ¶
This section is empty.
Variables ¶
var ( Bar_name = map[int32]string{ 0: "BAR1", 1: "BAR2", 2: "BAR3", } Bar_value = map[string]int32{ "BAR1": 0, "BAR2": 1, "BAR3": 2, } )
Enum value maps for Bar.
var ( Ref_Foo_En_name = map[int32]string{ 0: "A0", 1: "A1", } Ref_Foo_En_value = map[string]int32{ "A0": 0, "A1": 1, } )
Enum value maps for Ref_Foo_En.
var ( Ref_Foo_Bar_En_name = map[int32]string{ 0: "A0", 1: "A1", } Ref_Foo_Bar_En_value = map[string]int32{ "A0": 0, "A1": 1, } )
Enum value maps for Ref_Foo_Bar_En.
var Constructs_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.Constructs", HandlerType: (*ConstructsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Scalars_", Handler: _Constructs_Scalars__Handler, }, { MethodName: "Repeated_", Handler: _Constructs_Repeated__Handler, }, { MethodName: "Maps_", Handler: _Constructs_Maps__Handler, }, { MethodName: "Any_", Handler: _Constructs_Any__Handler, }, { MethodName: "Empty_", Handler: _Constructs_Empty__Handler, }, { MethodName: "Empty2_", Handler: _Constructs_Empty2__Handler, }, { MethodName: "Empty3_", Handler: _Constructs_Empty3__Handler, }, { MethodName: "Ref_", Handler: _Constructs_Ref__Handler, }, { MethodName: "Oneof_", Handler: _Constructs_Oneof__Handler, }, { MethodName: "CallWithId", Handler: _Constructs_CallWithId_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pb/constructs.proto", }
Constructs_ServiceDesc is the grpc.ServiceDesc for Constructs service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_pb_constructs_proto protoreflect.FileDescriptor
var File_pb_options_proto protoreflect.FileDescriptor
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Query1", Handler: _Query_Query1_Handler, }, { MethodName: "Query2", Handler: _Query_Query2_Handler, }, { MethodName: "Mutate1", Handler: _Query_Mutate1_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Subscribe", Handler: _Query_Subscribe_Handler, ServerStreams: true, }, }, Metadata: "pb/options.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Service_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.Service", HandlerType: (*ServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Mutate1", Handler: _Service_Mutate1_Handler, }, { MethodName: "Mutate2", Handler: _Service_Mutate2_Handler, }, { MethodName: "Query1", Handler: _Service_Query1_Handler, }, { MethodName: "Ignore", Handler: _Service_Ignore_Handler, }, { MethodName: "Name", Handler: _Service_Name_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Publish", Handler: _Service_Publish_Handler, ClientStreams: true, }, { StreamName: "Subscribe", Handler: _Service_Subscribe_Handler, ServerStreams: true, }, { StreamName: "PubSub1", Handler: _Service_PubSub1_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "InvalidSubscribe1", Handler: _Service_InvalidSubscribe1_Handler, ClientStreams: true, }, { StreamName: "InvalidSubscribe2", Handler: _Service_InvalidSubscribe2_Handler, ServerStreams: true, }, { StreamName: "InvalidSubscribe3", Handler: _Service_InvalidSubscribe3_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "PubSub2", Handler: _Service_PubSub2_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "pb/options.proto", }
Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Test_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.Test", HandlerType: (*TestServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Name", Handler: _Test_Name_Handler, }, { MethodName: "NewName", Handler: _Test_NewName_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pb/options.proto", }
Test_ServiceDesc is the grpc.ServiceDesc for Test service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func MarshalBar ¶
func MarshalRef_Foo_Bar_En ¶
func MarshalRef_Foo_Bar_En(x Ref_Foo_Bar_En) graphql.Marshaler
func MarshalRef_Foo_En ¶
func MarshalRef_Foo_En(x Ref_Foo_En) graphql.Marshaler
func RegisterConstructsServer ¶
func RegisterConstructsServer(s grpc.ServiceRegistrar, srv ConstructsServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
func RegisterServiceServer ¶
func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
func RegisterTestServer ¶
func RegisterTestServer(s grpc.ServiceRegistrar, srv TestServer)
Types ¶
type Any ¶
type Any struct { Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"` // contains filtered or unexported fields }
func (*Any) Descriptor
deprecated
func (*Any) ProtoMessage ¶
func (*Any) ProtoMessage()
func (*Any) ProtoReflect ¶
func (x *Any) ProtoReflect() protoreflect.Message
type Bar ¶
type Bar int32
func UnmarshalBar ¶
func (Bar) Descriptor ¶
func (Bar) Descriptor() protoreflect.EnumDescriptor
func (Bar) EnumDescriptor
deprecated
func (Bar) Number ¶
func (x Bar) Number() protoreflect.EnumNumber
func (Bar) Type ¶
func (Bar) Type() protoreflect.EnumType
type Baz ¶
type Baz struct { Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"` // contains filtered or unexported fields }
func (*Baz) Descriptor
deprecated
func (*Baz) ProtoMessage ¶
func (*Baz) ProtoMessage()
func (*Baz) ProtoReflect ¶
func (x *Baz) ProtoReflect() protoreflect.Message
type ConstructsClient ¶
type ConstructsClient interface { Scalars_(ctx context.Context, in *Scalars, opts ...grpc.CallOption) (*Scalars, error) Repeated_(ctx context.Context, in *Repeated, opts ...grpc.CallOption) (*Repeated, error) Maps_(ctx context.Context, in *Maps, opts ...grpc.CallOption) (*Maps, error) Any_(ctx context.Context, in *anypb.Any, opts ...grpc.CallOption) (*Any, error) Empty_(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Empty, error) Empty2_(ctx context.Context, in *EmptyRecursive, opts ...grpc.CallOption) (*EmptyNested, error) Empty3_(ctx context.Context, in *Empty3, opts ...grpc.CallOption) (*Empty3, error) Ref_(ctx context.Context, in *Ref, opts ...grpc.CallOption) (*Ref, error) Oneof_(ctx context.Context, in *Oneof, opts ...grpc.CallOption) (*Oneof, error) CallWithId(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) }
ConstructsClient is the client API for Constructs service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewConstructsClient ¶
func NewConstructsClient(cc grpc.ClientConnInterface) ConstructsClient
type ConstructsResolvers ¶
type ConstructsResolvers struct{ Service ConstructsServer }
func (*ConstructsResolvers) ConstructsAny ¶
func (*ConstructsResolvers) ConstructsCallWithID ¶
func (s *ConstructsResolvers) ConstructsCallWithID(ctx context.Context) (*bool, error)
func (*ConstructsResolvers) ConstructsEmpty ¶
func (s *ConstructsResolvers) ConstructsEmpty(ctx context.Context) (*bool, error)
func (*ConstructsResolvers) ConstructsEmpty2 ¶
func (s *ConstructsResolvers) ConstructsEmpty2(ctx context.Context) (*bool, error)
func (*ConstructsResolvers) ConstructsEmpty3 ¶
func (s *ConstructsResolvers) ConstructsEmpty3(ctx context.Context) (*bool, error)
func (*ConstructsResolvers) ConstructsMaps ¶
func (*ConstructsResolvers) ConstructsOneof ¶
func (*ConstructsResolvers) ConstructsRef ¶
func (*ConstructsResolvers) ConstructsRepeated ¶
func (*ConstructsResolvers) ConstructsScalars ¶
type ConstructsServer ¶
type ConstructsServer interface { Scalars_(context.Context, *Scalars) (*Scalars, error) Repeated_(context.Context, *Repeated) (*Repeated, error) Maps_(context.Context, *Maps) (*Maps, error) Any_(context.Context, *anypb.Any) (*Any, error) Empty_(context.Context, *emptypb.Empty) (*Empty, error) Empty2_(context.Context, *EmptyRecursive) (*EmptyNested, error) Empty3_(context.Context, *Empty3) (*Empty3, error) Ref_(context.Context, *Ref) (*Ref, error) Oneof_(context.Context, *Oneof) (*Oneof, error) CallWithId(context.Context, *Empty) (*Empty, error) // contains filtered or unexported methods }
ConstructsServer is the server API for Constructs service. All implementations must embed UnimplementedConstructsServer for forward compatibility
type Data ¶
type Data struct { StringX string `protobuf:"bytes,1,opt,name=string_x,json=stringX,proto3" json:"string_x,omitempty"` // must be required Foo *Foo2 `protobuf:"bytes,2,opt,name=foo,proto3" json:"foo,omitempty"` // must be required Double []float64 `protobuf:"fixed64,3,rep,packed,name=double,proto3" json:"double,omitempty"` // must be required because its greater than 0 String2 string `protobuf:"bytes,4,opt,name=string2,proto3" json:"string2,omitempty"` // simple Foo2 *Foo2 `protobuf:"bytes,5,opt,name=foo2,proto3" json:"foo2,omitempty"` // simple Double2 []float64 `protobuf:"fixed64,6,rep,packed,name=double2,proto3" json:"double2,omitempty"` // simple Bar string `protobuf:"bytes,7,opt,name=bar,proto3" json:"bar,omitempty"` String_ string `protobuf:"bytes,8,opt,name=string,proto3" json:"string,omitempty"` Ignore string `protobuf:"bytes,9,opt,name=ignore,proto3" json:"ignore,omitempty"` // Types that are assignable to Oneof: // *Data_Param1 // *Data_Param2 Oneof isData_Oneof `protobuf_oneof:"Oneof"` // Types that are assignable to Oneof2: // *Data_Param3 Oneof2 isData_Oneof2 `protobuf_oneof:"Oneof2"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
func (*Data) GetDouble2 ¶
func (*Data) GetString2 ¶
func (*Data) GetStringX ¶
func (*Data) GetString_ ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type DataResolvers ¶
type DataResolvers struct{}
func (DataResolvers) Oneof3 ¶
func (o DataResolvers) Oneof3(_ context.Context, obj *Data) (Data_Oneof, error)
type Data_Oneof ¶
type Data_Oneof interface{}
type Data_Param1 ¶
type Data_Param1 struct {
Param1 string `protobuf:"bytes,10,opt,name=param1,proto3,oneof"`
}
type Data_Param2 ¶
type Data_Param2 struct {
Param2 string `protobuf:"bytes,11,opt,name=param2,proto3,oneof"`
}
type Data_Param3 ¶
type Data_Param3 struct {
Param3 string `protobuf:"bytes,13,opt,name=param3,proto3,oneof"`
}
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type Empty3 ¶
type Empty3 struct { I *Empty3_Int `protobuf:"bytes,1,opt,name=i,proto3" json:"i,omitempty"` // contains filtered or unexported fields }
func (*Empty3) Descriptor
deprecated
func (*Empty3) GetI ¶
func (x *Empty3) GetI() *Empty3_Int
func (*Empty3) ProtoMessage ¶
func (*Empty3) ProtoMessage()
func (*Empty3) ProtoReflect ¶
func (x *Empty3) ProtoReflect() protoreflect.Message
type Empty3Input ¶
type Empty3Input = Empty3
type Empty3_Int ¶
type Empty3_Int struct { E *Empty3 `protobuf:"bytes,1,opt,name=e,proto3" json:"e,omitempty"` // contains filtered or unexported fields }
func (*Empty3_Int) Descriptor
deprecated
func (*Empty3_Int) Descriptor() ([]byte, []int)
Deprecated: Use Empty3_Int.ProtoReflect.Descriptor instead.
func (*Empty3_Int) GetE ¶
func (x *Empty3_Int) GetE() *Empty3
func (*Empty3_Int) ProtoMessage ¶
func (*Empty3_Int) ProtoMessage()
func (*Empty3_Int) ProtoReflect ¶
func (x *Empty3_Int) ProtoReflect() protoreflect.Message
func (*Empty3_Int) Reset ¶
func (x *Empty3_Int) Reset()
func (*Empty3_Int) String ¶
func (x *Empty3_Int) String() string
type Empty3_IntInput ¶
type Empty3_IntInput = Empty3_Int
type EmptyInput ¶
type EmptyInput = Empty
type EmptyNested ¶
type EmptyNested struct { Nested1 *EmptyNested_EmptyNested1 `protobuf:"bytes,1,opt,name=nested1,proto3" json:"nested1,omitempty"` // contains filtered or unexported fields }
func (*EmptyNested) Descriptor
deprecated
func (*EmptyNested) Descriptor() ([]byte, []int)
Deprecated: Use EmptyNested.ProtoReflect.Descriptor instead.
func (*EmptyNested) GetNested1 ¶
func (x *EmptyNested) GetNested1() *EmptyNested_EmptyNested1
func (*EmptyNested) ProtoMessage ¶
func (*EmptyNested) ProtoMessage()
func (*EmptyNested) ProtoReflect ¶
func (x *EmptyNested) ProtoReflect() protoreflect.Message
func (*EmptyNested) Reset ¶
func (x *EmptyNested) Reset()
func (*EmptyNested) String ¶
func (x *EmptyNested) String() string
type EmptyNestedInput ¶
type EmptyNestedInput = EmptyNested
type EmptyNested_EmptyNested1 ¶
type EmptyNested_EmptyNested1 struct { Nested2 *EmptyNested_EmptyNested1_EmptyNested2 `protobuf:"bytes,1,opt,name=nested2,proto3" json:"nested2,omitempty"` // contains filtered or unexported fields }
func (*EmptyNested_EmptyNested1) Descriptor
deprecated
func (*EmptyNested_EmptyNested1) Descriptor() ([]byte, []int)
Deprecated: Use EmptyNested_EmptyNested1.ProtoReflect.Descriptor instead.
func (*EmptyNested_EmptyNested1) GetNested2 ¶
func (x *EmptyNested_EmptyNested1) GetNested2() *EmptyNested_EmptyNested1_EmptyNested2
func (*EmptyNested_EmptyNested1) ProtoMessage ¶
func (*EmptyNested_EmptyNested1) ProtoMessage()
func (*EmptyNested_EmptyNested1) ProtoReflect ¶
func (x *EmptyNested_EmptyNested1) ProtoReflect() protoreflect.Message
func (*EmptyNested_EmptyNested1) Reset ¶
func (x *EmptyNested_EmptyNested1) Reset()
func (*EmptyNested_EmptyNested1) String ¶
func (x *EmptyNested_EmptyNested1) String() string
type EmptyNested_EmptyNested1Input ¶
type EmptyNested_EmptyNested1Input = EmptyNested_EmptyNested1
type EmptyNested_EmptyNested1_EmptyNested2 ¶
type EmptyNested_EmptyNested1_EmptyNested2 struct {
// contains filtered or unexported fields
}
func (*EmptyNested_EmptyNested1_EmptyNested2) Descriptor
deprecated
func (*EmptyNested_EmptyNested1_EmptyNested2) Descriptor() ([]byte, []int)
Deprecated: Use EmptyNested_EmptyNested1_EmptyNested2.ProtoReflect.Descriptor instead.
func (*EmptyNested_EmptyNested1_EmptyNested2) ProtoMessage ¶
func (*EmptyNested_EmptyNested1_EmptyNested2) ProtoMessage()
func (*EmptyNested_EmptyNested1_EmptyNested2) ProtoReflect ¶
func (x *EmptyNested_EmptyNested1_EmptyNested2) ProtoReflect() protoreflect.Message
func (*EmptyNested_EmptyNested1_EmptyNested2) Reset ¶
func (x *EmptyNested_EmptyNested1_EmptyNested2) Reset()
func (*EmptyNested_EmptyNested1_EmptyNested2) String ¶
func (x *EmptyNested_EmptyNested1_EmptyNested2) String() string
type EmptyNested_EmptyNested1_EmptyNested2Input ¶
type EmptyNested_EmptyNested1_EmptyNested2Input = EmptyNested_EmptyNested1_EmptyNested2
type EmptyRecursive ¶
type EmptyRecursive struct { Nested1 *emptypb.Empty `protobuf:"bytes,1,opt,name=nested1,proto3" json:"nested1,omitempty"` Empty *EmptyRecursive `protobuf:"bytes,2,opt,name=empty,proto3" json:"empty,omitempty"` // contains filtered or unexported fields }
func (*EmptyRecursive) Descriptor
deprecated
func (*EmptyRecursive) Descriptor() ([]byte, []int)
Deprecated: Use EmptyRecursive.ProtoReflect.Descriptor instead.
func (*EmptyRecursive) GetEmpty ¶
func (x *EmptyRecursive) GetEmpty() *EmptyRecursive
func (*EmptyRecursive) GetNested1 ¶
func (x *EmptyRecursive) GetNested1() *emptypb.Empty
func (*EmptyRecursive) ProtoMessage ¶
func (*EmptyRecursive) ProtoMessage()
func (*EmptyRecursive) ProtoReflect ¶
func (x *EmptyRecursive) ProtoReflect() protoreflect.Message
func (*EmptyRecursive) Reset ¶
func (x *EmptyRecursive) Reset()
func (*EmptyRecursive) String ¶
func (x *EmptyRecursive) String() string
type EmptyRecursiveInput ¶
type EmptyRecursiveInput = EmptyRecursive
type Foo ¶
type Foo struct { Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"` Param2 string `protobuf:"bytes,2,opt,name=param2,proto3" json:"param2,omitempty"` // contains filtered or unexported fields }
func (*Foo) Descriptor
deprecated
func (*Foo) ProtoMessage ¶
func (*Foo) ProtoMessage()
func (*Foo) ProtoReflect ¶
func (x *Foo) ProtoReflect() protoreflect.Message
type Foo2 ¶
type Foo2 struct { Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"` // contains filtered or unexported fields }
func (*Foo2) Descriptor
deprecated
func (*Foo2) ProtoMessage ¶
func (*Foo2) ProtoMessage()
func (*Foo2) ProtoReflect ¶
func (x *Foo2) ProtoReflect() protoreflect.Message
type Foo_Foo2 ¶
type Foo_Foo2 struct { Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"` // contains filtered or unexported fields }
func (*Foo_Foo2) Descriptor
deprecated
func (*Foo_Foo2) ProtoMessage ¶
func (*Foo_Foo2) ProtoMessage()
func (*Foo_Foo2) ProtoReflect ¶
func (x *Foo_Foo2) ProtoReflect() protoreflect.Message
type Foo_Foo2Input ¶
type Foo_Foo2Input = Foo_Foo2
type Maps ¶
type Maps struct { Int32Int32 map[int32]int32 `` /* 181-byte string literal not displayed */ Int64Int64 map[int64]int64 `` /* 181-byte string literal not displayed */ Uint32Uint32 map[uint32]uint32 `` /* 187-byte string literal not displayed */ Uint64Uint64 map[uint64]uint64 `` /* 187-byte string literal not displayed */ Sint32Sint32 map[int32]int32 `` /* 191-byte string literal not displayed */ Sint64Sint64 map[int64]int64 `` /* 191-byte string literal not displayed */ Fixed32Fixed32 map[uint32]uint32 `` /* 195-byte string literal not displayed */ Fixed64Fixed64 map[uint64]uint64 `` /* 195-byte string literal not displayed */ Sfixed32Sfixed32 map[int32]int32 `` /* 201-byte string literal not displayed */ Sfixed64Sfixed64 map[int64]int64 `` /* 202-byte string literal not displayed */ BoolBool map[bool]bool `` /* 176-byte string literal not displayed */ StringString map[string]string `` /* 186-byte string literal not displayed */ StringBytes map[string][]byte `` /* 183-byte string literal not displayed */ StringFloat map[string]float32 `` /* 185-byte string literal not displayed */ StringDouble map[string]float64 `` /* 188-byte string literal not displayed */ StringFoo map[string]*Foo `` /* 177-byte string literal not displayed */ StringBar map[string]Bar `` /* 190-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Maps) Descriptor
deprecated
func (*Maps) GetBoolBool ¶
func (*Maps) GetFixed32Fixed32 ¶
func (*Maps) GetFixed64Fixed64 ¶
func (*Maps) GetInt32Int32 ¶
func (*Maps) GetInt64Int64 ¶
func (*Maps) GetSfixed32Sfixed32 ¶
func (*Maps) GetSfixed64Sfixed64 ¶
func (*Maps) GetSint32Sint32 ¶
func (*Maps) GetSint64Sint64 ¶
func (*Maps) GetStringBar ¶
func (*Maps) GetStringBytes ¶
func (*Maps) GetStringDouble ¶
func (*Maps) GetStringFloat ¶
func (*Maps) GetStringFoo ¶
func (*Maps) GetStringString ¶
func (*Maps) GetUint32Uint32 ¶
func (*Maps) GetUint64Uint64 ¶
func (*Maps) ProtoMessage ¶
func (*Maps) ProtoMessage()
func (*Maps) ProtoReflect ¶
func (x *Maps) ProtoReflect() protoreflect.Message
type MapsInputResolvers ¶
type MapsInputResolvers struct{}
func (MapsInputResolvers) BoolBool ¶
func (m MapsInputResolvers) BoolBool(_ context.Context, obj *Maps, data []*Maps_BoolBoolEntry) error
func (MapsInputResolvers) Fixed32Fixed32 ¶
func (m MapsInputResolvers) Fixed32Fixed32(_ context.Context, obj *Maps, data []*Maps_Fixed32Fixed32Entry) error
func (MapsInputResolvers) Fixed64Fixed64 ¶
func (m MapsInputResolvers) Fixed64Fixed64(_ context.Context, obj *Maps, data []*Maps_Fixed64Fixed64Entry) error
func (MapsInputResolvers) Int32Int32 ¶
func (m MapsInputResolvers) Int32Int32(_ context.Context, obj *Maps, data []*Maps_Int32Int32Entry) error
func (MapsInputResolvers) Int64Int64 ¶
func (m MapsInputResolvers) Int64Int64(_ context.Context, obj *Maps, data []*Maps_Int64Int64Entry) error
func (MapsInputResolvers) Sfixed32Sfixed32 ¶
func (m MapsInputResolvers) Sfixed32Sfixed32(_ context.Context, obj *Maps, data []*Maps_Sfixed32Sfixed32Entry) error
func (MapsInputResolvers) Sfixed64Sfixed64 ¶
func (m MapsInputResolvers) Sfixed64Sfixed64(_ context.Context, obj *Maps, data []*Maps_Sfixed64Sfixed64Entry) error
func (MapsInputResolvers) Sint32Sint32 ¶
func (m MapsInputResolvers) Sint32Sint32(_ context.Context, obj *Maps, data []*Maps_Sint32Sint32Entry) error
func (MapsInputResolvers) Sint64Sint64 ¶
func (m MapsInputResolvers) Sint64Sint64(_ context.Context, obj *Maps, data []*Maps_Sint64Sint64Entry) error
func (MapsInputResolvers) StringBar ¶
func (m MapsInputResolvers) StringBar(_ context.Context, obj *Maps, data []*Maps_StringBarEntry) error
func (MapsInputResolvers) StringBytes ¶
func (m MapsInputResolvers) StringBytes(_ context.Context, obj *Maps, data []*Maps_StringBytesEntry) error
func (MapsInputResolvers) StringDouble ¶
func (m MapsInputResolvers) StringDouble(_ context.Context, obj *Maps, data []*Maps_StringDoubleEntry) error
func (MapsInputResolvers) StringFloat ¶
func (m MapsInputResolvers) StringFloat(_ context.Context, obj *Maps, data []*Maps_StringFloatEntry) error
func (MapsInputResolvers) StringFoo ¶
func (m MapsInputResolvers) StringFoo(_ context.Context, obj *Maps, data []*Maps_StringFooEntry) error
func (MapsInputResolvers) StringString ¶
func (m MapsInputResolvers) StringString(_ context.Context, obj *Maps, data []*Maps_StringStringEntry) error
func (MapsInputResolvers) Uint32Uint32 ¶
func (m MapsInputResolvers) Uint32Uint32(_ context.Context, obj *Maps, data []*Maps_Uint32Uint32Entry) error
func (MapsInputResolvers) Uint64Uint64 ¶
func (m MapsInputResolvers) Uint64Uint64(_ context.Context, obj *Maps, data []*Maps_Uint64Uint64Entry) error
type MapsResolvers ¶
type MapsResolvers struct{}
func (MapsResolvers) BoolBool ¶
func (r MapsResolvers) BoolBool(_ context.Context, obj *Maps) (list []*Maps_BoolBoolEntry, _ error)
func (MapsResolvers) Fixed32Fixed32 ¶
func (r MapsResolvers) Fixed32Fixed32(_ context.Context, obj *Maps) (list []*Maps_Fixed32Fixed32Entry, _ error)
func (MapsResolvers) Fixed64Fixed64 ¶
func (r MapsResolvers) Fixed64Fixed64(_ context.Context, obj *Maps) (list []*Maps_Fixed64Fixed64Entry, _ error)
func (MapsResolvers) Int32Int32 ¶
func (r MapsResolvers) Int32Int32(_ context.Context, obj *Maps) (list []*Maps_Int32Int32Entry, _ error)
func (MapsResolvers) Int64Int64 ¶
func (r MapsResolvers) Int64Int64(_ context.Context, obj *Maps) (list []*Maps_Int64Int64Entry, _ error)
func (MapsResolvers) Sfixed32Sfixed32 ¶
func (r MapsResolvers) Sfixed32Sfixed32(_ context.Context, obj *Maps) (list []*Maps_Sfixed32Sfixed32Entry, _ error)
func (MapsResolvers) Sfixed64Sfixed64 ¶
func (r MapsResolvers) Sfixed64Sfixed64(_ context.Context, obj *Maps) (list []*Maps_Sfixed64Sfixed64Entry, _ error)
func (MapsResolvers) Sint32Sint32 ¶
func (r MapsResolvers) Sint32Sint32(_ context.Context, obj *Maps) (list []*Maps_Sint32Sint32Entry, _ error)
func (MapsResolvers) Sint64Sint64 ¶
func (r MapsResolvers) Sint64Sint64(_ context.Context, obj *Maps) (list []*Maps_Sint64Sint64Entry, _ error)
func (MapsResolvers) StringBar ¶
func (r MapsResolvers) StringBar(_ context.Context, obj *Maps) (list []*Maps_StringBarEntry, _ error)
func (MapsResolvers) StringBytes ¶
func (r MapsResolvers) StringBytes(_ context.Context, obj *Maps) (list []*Maps_StringBytesEntry, _ error)
func (MapsResolvers) StringDouble ¶
func (r MapsResolvers) StringDouble(_ context.Context, obj *Maps) (list []*Maps_StringDoubleEntry, _ error)
func (MapsResolvers) StringFloat ¶
func (r MapsResolvers) StringFloat(_ context.Context, obj *Maps) (list []*Maps_StringFloatEntry, _ error)
func (MapsResolvers) StringFoo ¶
func (r MapsResolvers) StringFoo(_ context.Context, obj *Maps) (list []*Maps_StringFooEntry, _ error)
func (MapsResolvers) StringString ¶
func (r MapsResolvers) StringString(_ context.Context, obj *Maps) (list []*Maps_StringStringEntry, _ error)
func (MapsResolvers) Uint32Uint32 ¶
func (r MapsResolvers) Uint32Uint32(_ context.Context, obj *Maps) (list []*Maps_Uint32Uint32Entry, _ error)
func (MapsResolvers) Uint64Uint64 ¶
func (r MapsResolvers) Uint64Uint64(_ context.Context, obj *Maps) (list []*Maps_Uint64Uint64Entry, _ error)
type Maps_BoolBoolEntry ¶
type Maps_BoolBoolEntryInput ¶
type Maps_BoolBoolEntryInput = Maps_BoolBoolEntry
type Maps_Fixed32Fixed32EntryInput ¶
type Maps_Fixed32Fixed32EntryInput = Maps_Fixed32Fixed32Entry
type Maps_Fixed64Fixed64EntryInput ¶
type Maps_Fixed64Fixed64EntryInput = Maps_Fixed64Fixed64Entry
type Maps_Int32Int32Entry ¶
type Maps_Int32Int32EntryInput ¶
type Maps_Int32Int32EntryInput = Maps_Int32Int32Entry
type Maps_Int64Int64Entry ¶
type Maps_Int64Int64EntryInput ¶
type Maps_Int64Int64EntryInput = Maps_Int64Int64Entry
type Maps_Sfixed32Sfixed32EntryInput ¶
type Maps_Sfixed32Sfixed32EntryInput = Maps_Sfixed32Sfixed32Entry
type Maps_Sfixed64Sfixed64EntryInput ¶
type Maps_Sfixed64Sfixed64EntryInput = Maps_Sfixed64Sfixed64Entry
type Maps_Sint32Sint32Entry ¶
type Maps_Sint32Sint32EntryInput ¶
type Maps_Sint32Sint32EntryInput = Maps_Sint32Sint32Entry
type Maps_Sint64Sint64Entry ¶
type Maps_Sint64Sint64EntryInput ¶
type Maps_Sint64Sint64EntryInput = Maps_Sint64Sint64Entry
type Maps_StringBarEntry ¶
type Maps_StringBarEntryInput ¶
type Maps_StringBarEntryInput = Maps_StringBarEntry
type Maps_StringBytesEntry ¶
type Maps_StringBytesEntryInput ¶
type Maps_StringBytesEntryInput = Maps_StringBytesEntry
type Maps_StringDoubleEntry ¶
type Maps_StringDoubleEntryInput ¶
type Maps_StringDoubleEntryInput = Maps_StringDoubleEntry
type Maps_StringFloatEntry ¶
type Maps_StringFloatEntryInput ¶
type Maps_StringFloatEntryInput = Maps_StringFloatEntry
type Maps_StringFooEntry ¶
type Maps_StringFooEntryInput ¶
type Maps_StringFooEntryInput = Maps_StringFooEntry
type Maps_StringStringEntry ¶
type Maps_StringStringEntryInput ¶
type Maps_StringStringEntryInput = Maps_StringStringEntry
type Maps_Uint32Uint32Entry ¶
type Maps_Uint32Uint32EntryInput ¶
type Maps_Uint32Uint32EntryInput = Maps_Uint32Uint32Entry
type Maps_Uint64Uint64Entry ¶
type Maps_Uint64Uint64EntryInput ¶
type Maps_Uint64Uint64EntryInput = Maps_Uint64Uint64Entry
type Oneof ¶
type Oneof struct { Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"` // Types that are assignable to Oneof1: // *Oneof_Param2 // *Oneof_Param3 Oneof1 isOneof_Oneof1 `protobuf_oneof:"Oneof1"` // Types that are assignable to Oneof2: // *Oneof_Param4 // *Oneof_Param5 Oneof2 isOneof_Oneof2 `protobuf_oneof:"Oneof2"` // Types that are assignable to Oneof3: // *Oneof_Param6 Oneof3 isOneof_Oneof3 `protobuf_oneof:"Oneof3"` // contains filtered or unexported fields }
func (*Oneof) Descriptor
deprecated
func (*Oneof) ProtoMessage ¶
func (*Oneof) ProtoMessage()
func (*Oneof) ProtoReflect ¶
func (x *Oneof) ProtoReflect() protoreflect.Message
type OneofInput ¶
type OneofInput = Oneof
type OneofInputResolvers ¶
type OneofInputResolvers struct{}
type OneofResolvers ¶
type OneofResolvers struct{}
func (OneofResolvers) Oneof1 ¶
func (o OneofResolvers) Oneof1(_ context.Context, obj *Oneof) (Oneof_Oneof1, error)
func (OneofResolvers) Oneof2 ¶
func (o OneofResolvers) Oneof2(_ context.Context, obj *Oneof) (Oneof_Oneof2, error)
func (OneofResolvers) Oneof3 ¶
func (o OneofResolvers) Oneof3(_ context.Context, obj *Oneof) (Oneof_Oneof3, error)
type Oneof_Oneof1 ¶
type Oneof_Oneof1 interface{}
type Oneof_Oneof2 ¶
type Oneof_Oneof2 interface{}
type Oneof_Oneof3 ¶
type Oneof_Oneof3 interface{}
type Oneof_Param2 ¶
type Oneof_Param2 struct {
Param2 string `protobuf:"bytes,2,opt,name=param2,proto3,oneof"`
}
type Oneof_Param3 ¶
type Oneof_Param3 struct {
Param3 string `protobuf:"bytes,3,opt,name=param3,proto3,oneof"`
}
type Oneof_Param4 ¶
type Oneof_Param4 struct {
Param4 string `protobuf:"bytes,4,opt,name=param4,proto3,oneof"`
}
type Oneof_Param5 ¶
type Oneof_Param5 struct {
Param5 string `protobuf:"bytes,5,opt,name=param5,proto3,oneof"`
}
type Oneof_Param6 ¶
type Oneof_Param6 struct {
Param6 string `protobuf:"bytes,6,opt,name=param6,proto3,oneof"`
}
type QueryClient ¶
type QueryClient interface { Query1(ctx context.Context, in *Data, opts ...grpc.CallOption) (*Data, error) Query2(ctx context.Context, in *Data, opts ...grpc.CallOption) (*Data, error) Mutate1(ctx context.Context, in *Data, opts ...grpc.CallOption) (*Data, error) Subscribe(ctx context.Context, in *Data, opts ...grpc.CallOption) (Query_SubscribeClient, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryResolvers ¶
type QueryResolvers struct{ Service QueryServer }
func (*QueryResolvers) QueryMutate1 ¶
func (*QueryResolvers) QueryQuery1 ¶
func (*QueryResolvers) QueryQuery2 ¶
type QueryServer ¶
type QueryServer interface { Query1(context.Context, *Data) (*Data, error) Query2(context.Context, *Data) (*Data, error) Mutate1(context.Context, *Data) (*Data, error) Subscribe(*Data, Query_SubscribeServer) error // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type Query_SubscribeClient ¶
type Query_SubscribeClient interface { Recv() (*Data, error) grpc.ClientStream }
type Query_SubscribeServer ¶
type Query_SubscribeServer interface { Send(*Data) error grpc.ServerStream }
type Ref ¶
type Ref struct { Empty *emptypb.Empty `protobuf:"bytes,10,opt,name=empty,proto3" json:"empty,omitempty"` // must disappear as part of is empty validation LocalTime2 *Timestamp `protobuf:"bytes,12,opt,name=local_time2,json=localTime2,proto3" json:"local_time2,omitempty"` External *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=external,proto3" json:"external,omitempty"` LocalTime *Timestamp `protobuf:"bytes,11,opt,name=local_time,json=localTime,proto3" json:"local_time,omitempty"` File *Baz `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` FileMsg *Foo `protobuf:"bytes,8,opt,name=file_msg,json=fileMsg,proto3" json:"file_msg,omitempty"` FileEnum Bar `protobuf:"varint,9,opt,name=file_enum,json=fileEnum,proto3,enum=pb.Bar" json:"file_enum,omitempty"` Local *Ref_Foo `protobuf:"bytes,3,opt,name=local,proto3" json:"local,omitempty"` Foreign *Foo_Foo2 `protobuf:"bytes,4,opt,name=foreign,proto3" json:"foreign,omitempty"` En1 Ref_Foo_En `protobuf:"varint,5,opt,name=en1,proto3,enum=pb.Ref_Foo_En" json:"en1,omitempty"` En2 Ref_Foo_Bar_En `protobuf:"varint,6,opt,name=en2,proto3,enum=pb.Ref_Foo_Bar_En" json:"en2,omitempty"` Gz *Ref_Foo_Baz_Gz `protobuf:"bytes,7,opt,name=gz,proto3" json:"gz,omitempty"` // contains filtered or unexported fields }
func (*Ref) Descriptor
deprecated
func (*Ref) GetEn1 ¶
func (x *Ref) GetEn1() Ref_Foo_En
func (*Ref) GetEn2 ¶
func (x *Ref) GetEn2() Ref_Foo_Bar_En
func (*Ref) GetExternal ¶
func (x *Ref) GetExternal() *timestamppb.Timestamp
func (*Ref) GetFileEnum ¶
func (*Ref) GetFileMsg ¶
func (*Ref) GetForeign ¶
func (*Ref) GetGz ¶
func (x *Ref) GetGz() *Ref_Foo_Baz_Gz
func (*Ref) GetLocalTime ¶
func (*Ref) GetLocalTime2 ¶
func (*Ref) ProtoMessage ¶
func (*Ref) ProtoMessage()
func (*Ref) ProtoReflect ¶
func (x *Ref) ProtoReflect() protoreflect.Message
type Ref_Bar ¶
type Ref_Bar struct { Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"` // contains filtered or unexported fields }
func (*Ref_Bar) Descriptor
deprecated
func (*Ref_Bar) ProtoMessage ¶
func (*Ref_Bar) ProtoMessage()
func (*Ref_Bar) ProtoReflect ¶
func (x *Ref_Bar) ProtoReflect() protoreflect.Message
type Ref_BarInput ¶
type Ref_BarInput = Ref_Bar
type Ref_Foo ¶
type Ref_Foo struct { Bar1 *Ref_Foo_Bar `protobuf:"bytes,1,opt,name=bar1,proto3" json:"bar1,omitempty"` LocalTime2 *Timestamp `protobuf:"bytes,12,opt,name=local_time2,json=localTime2,proto3" json:"local_time2,omitempty"` ExternalTime1 *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=external_time1,json=externalTime1,proto3" json:"external_time1,omitempty"` Bar2 *Ref_Bar `protobuf:"bytes,2,opt,name=bar2,proto3" json:"bar2,omitempty"` En1 Ref_Foo_En `protobuf:"varint,3,opt,name=en1,proto3,enum=pb.Ref_Foo_En" json:"en1,omitempty"` En2 Ref_Foo_Bar_En `protobuf:"varint,4,opt,name=en2,proto3,enum=pb.Ref_Foo_Bar_En" json:"en2,omitempty"` // contains filtered or unexported fields }
func (*Ref_Foo) Descriptor
deprecated
func (*Ref_Foo) GetBar1 ¶
func (x *Ref_Foo) GetBar1() *Ref_Foo_Bar
func (*Ref_Foo) GetEn1 ¶
func (x *Ref_Foo) GetEn1() Ref_Foo_En
func (*Ref_Foo) GetEn2 ¶
func (x *Ref_Foo) GetEn2() Ref_Foo_Bar_En
func (*Ref_Foo) GetExternalTime1 ¶
func (x *Ref_Foo) GetExternalTime1() *timestamppb.Timestamp
func (*Ref_Foo) GetLocalTime2 ¶
func (*Ref_Foo) ProtoMessage ¶
func (*Ref_Foo) ProtoMessage()
func (*Ref_Foo) ProtoReflect ¶
func (x *Ref_Foo) ProtoReflect() protoreflect.Message
type Ref_FooInput ¶
type Ref_FooInput = Ref_Foo
type Ref_Foo_Bar ¶
type Ref_Foo_Bar struct { Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"` // contains filtered or unexported fields }
func (*Ref_Foo_Bar) Descriptor
deprecated
func (*Ref_Foo_Bar) Descriptor() ([]byte, []int)
Deprecated: Use Ref_Foo_Bar.ProtoReflect.Descriptor instead.
func (*Ref_Foo_Bar) GetParam1 ¶
func (x *Ref_Foo_Bar) GetParam1() string
func (*Ref_Foo_Bar) ProtoMessage ¶
func (*Ref_Foo_Bar) ProtoMessage()
func (*Ref_Foo_Bar) ProtoReflect ¶
func (x *Ref_Foo_Bar) ProtoReflect() protoreflect.Message
func (*Ref_Foo_Bar) Reset ¶
func (x *Ref_Foo_Bar) Reset()
func (*Ref_Foo_Bar) String ¶
func (x *Ref_Foo_Bar) String() string
type Ref_Foo_BarInput ¶
type Ref_Foo_BarInput = Ref_Foo_Bar
type Ref_Foo_Bar_En ¶
type Ref_Foo_Bar_En int32
const ( Ref_Foo_Bar_A0 Ref_Foo_Bar_En = 0 Ref_Foo_Bar_A1 Ref_Foo_Bar_En = 1 )
func UnmarshalRef_Foo_Bar_En ¶
func UnmarshalRef_Foo_Bar_En(v interface{}) (Ref_Foo_Bar_En, error)
func (Ref_Foo_Bar_En) Descriptor ¶
func (Ref_Foo_Bar_En) Descriptor() protoreflect.EnumDescriptor
func (Ref_Foo_Bar_En) Enum ¶
func (x Ref_Foo_Bar_En) Enum() *Ref_Foo_Bar_En
func (Ref_Foo_Bar_En) EnumDescriptor
deprecated
func (Ref_Foo_Bar_En) EnumDescriptor() ([]byte, []int)
Deprecated: Use Ref_Foo_Bar_En.Descriptor instead.
func (Ref_Foo_Bar_En) Number ¶
func (x Ref_Foo_Bar_En) Number() protoreflect.EnumNumber
func (Ref_Foo_Bar_En) String ¶
func (x Ref_Foo_Bar_En) String() string
func (Ref_Foo_Bar_En) Type ¶
func (Ref_Foo_Bar_En) Type() protoreflect.EnumType
type Ref_Foo_Baz ¶
type Ref_Foo_Baz struct {
// contains filtered or unexported fields
}
func (*Ref_Foo_Baz) Descriptor
deprecated
func (*Ref_Foo_Baz) Descriptor() ([]byte, []int)
Deprecated: Use Ref_Foo_Baz.ProtoReflect.Descriptor instead.
func (*Ref_Foo_Baz) ProtoMessage ¶
func (*Ref_Foo_Baz) ProtoMessage()
func (*Ref_Foo_Baz) ProtoReflect ¶
func (x *Ref_Foo_Baz) ProtoReflect() protoreflect.Message
func (*Ref_Foo_Baz) Reset ¶
func (x *Ref_Foo_Baz) Reset()
func (*Ref_Foo_Baz) String ¶
func (x *Ref_Foo_Baz) String() string
type Ref_Foo_BazInput ¶
type Ref_Foo_BazInput = Ref_Foo_Baz
type Ref_Foo_Baz_Gz ¶
type Ref_Foo_Baz_Gz struct { Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"` // contains filtered or unexported fields }
func (*Ref_Foo_Baz_Gz) Descriptor
deprecated
func (*Ref_Foo_Baz_Gz) Descriptor() ([]byte, []int)
Deprecated: Use Ref_Foo_Baz_Gz.ProtoReflect.Descriptor instead.
func (*Ref_Foo_Baz_Gz) GetParam1 ¶
func (x *Ref_Foo_Baz_Gz) GetParam1() string
func (*Ref_Foo_Baz_Gz) ProtoMessage ¶
func (*Ref_Foo_Baz_Gz) ProtoMessage()
func (*Ref_Foo_Baz_Gz) ProtoReflect ¶
func (x *Ref_Foo_Baz_Gz) ProtoReflect() protoreflect.Message
func (*Ref_Foo_Baz_Gz) Reset ¶
func (x *Ref_Foo_Baz_Gz) Reset()
func (*Ref_Foo_Baz_Gz) String ¶
func (x *Ref_Foo_Baz_Gz) String() string
type Ref_Foo_Baz_GzInput ¶
type Ref_Foo_Baz_GzInput = Ref_Foo_Baz_Gz
type Ref_Foo_En ¶
type Ref_Foo_En int32
const ( Ref_Foo_A0 Ref_Foo_En = 0 Ref_Foo_A1 Ref_Foo_En = 1 )
func UnmarshalRef_Foo_En ¶
func UnmarshalRef_Foo_En(v interface{}) (Ref_Foo_En, error)
func (Ref_Foo_En) Descriptor ¶
func (Ref_Foo_En) Descriptor() protoreflect.EnumDescriptor
func (Ref_Foo_En) Enum ¶
func (x Ref_Foo_En) Enum() *Ref_Foo_En
func (Ref_Foo_En) EnumDescriptor
deprecated
func (Ref_Foo_En) EnumDescriptor() ([]byte, []int)
Deprecated: Use Ref_Foo_En.Descriptor instead.
func (Ref_Foo_En) Number ¶
func (x Ref_Foo_En) Number() protoreflect.EnumNumber
func (Ref_Foo_En) String ¶
func (x Ref_Foo_En) String() string
func (Ref_Foo_En) Type ¶
func (Ref_Foo_En) Type() protoreflect.EnumType
type Repeated ¶
type Repeated struct { Double []float64 `protobuf:"fixed64,1,rep,packed,name=double,proto3" json:"double,omitempty"` Float []float32 `protobuf:"fixed32,2,rep,packed,name=float,proto3" json:"float,omitempty"` Int32 []int32 `protobuf:"varint,3,rep,packed,name=int32,proto3" json:"int32,omitempty"` Int64 []int64 `protobuf:"varint,4,rep,packed,name=int64,proto3" json:"int64,omitempty"` Uint32 []uint32 `protobuf:"varint,5,rep,packed,name=uint32,proto3" json:"uint32,omitempty"` Uint64 []uint64 `protobuf:"varint,6,rep,packed,name=uint64,proto3" json:"uint64,omitempty"` Sint32 []int32 `protobuf:"zigzag32,7,rep,packed,name=sint32,proto3" json:"sint32,omitempty"` Sint64 []int64 `protobuf:"zigzag64,8,rep,packed,name=sint64,proto3" json:"sint64,omitempty"` Fixed32 []uint32 `protobuf:"fixed32,9,rep,packed,name=fixed32,proto3" json:"fixed32,omitempty"` Fixed64 []uint64 `protobuf:"fixed64,10,rep,packed,name=fixed64,proto3" json:"fixed64,omitempty"` Sfixed32 []int32 `protobuf:"fixed32,11,rep,packed,name=sfixed32,proto3" json:"sfixed32,omitempty"` Sfixed64 []int64 `protobuf:"fixed64,12,rep,packed,name=sfixed64,proto3" json:"sfixed64,omitempty"` Bool []bool `protobuf:"varint,13,rep,packed,name=bool,proto3" json:"bool,omitempty"` StringX []string `protobuf:"bytes,14,rep,name=string_x,json=stringX,proto3" json:"string_x,omitempty"` Bytes [][]byte `protobuf:"bytes,15,rep,name=bytes,proto3" json:"bytes,omitempty"` Foo []*Foo `protobuf:"bytes,16,rep,name=foo,proto3" json:"foo,omitempty"` Bar []Bar `protobuf:"varint,17,rep,packed,name=bar,proto3,enum=pb.Bar" json:"bar,omitempty"` // contains filtered or unexported fields }
func (*Repeated) Descriptor
deprecated
func (*Repeated) GetFixed32 ¶
func (*Repeated) GetFixed64 ¶
func (*Repeated) GetSfixed32 ¶
func (*Repeated) GetSfixed64 ¶
func (*Repeated) GetStringX ¶
func (*Repeated) ProtoMessage ¶
func (*Repeated) ProtoMessage()
func (*Repeated) ProtoReflect ¶
func (x *Repeated) ProtoReflect() protoreflect.Message
type RepeatedInput ¶
type RepeatedInput = Repeated
type Scalars ¶
type Scalars struct { Double float64 `protobuf:"fixed64,1,opt,name=double,proto3" json:"double,omitempty"` Float float32 `protobuf:"fixed32,2,opt,name=float,proto3" json:"float,omitempty"` Int32 int32 `protobuf:"varint,3,opt,name=int32,proto3" json:"int32,omitempty"` Int64 int64 `protobuf:"varint,4,opt,name=int64,proto3" json:"int64,omitempty"` Uint32 uint32 `protobuf:"varint,5,opt,name=uint32,proto3" json:"uint32,omitempty"` Uint64 uint64 `protobuf:"varint,6,opt,name=uint64,proto3" json:"uint64,omitempty"` Sint32 int32 `protobuf:"zigzag32,7,opt,name=sint32,proto3" json:"sint32,omitempty"` Sint64 int64 `protobuf:"zigzag64,8,opt,name=sint64,proto3" json:"sint64,omitempty"` Fixed32 uint32 `protobuf:"fixed32,9,opt,name=fixed32,proto3" json:"fixed32,omitempty"` Fixed64 uint64 `protobuf:"fixed64,10,opt,name=fixed64,proto3" json:"fixed64,omitempty"` Sfixed32 int32 `protobuf:"fixed32,11,opt,name=sfixed32,proto3" json:"sfixed32,omitempty"` Sfixed64 int64 `protobuf:"fixed64,12,opt,name=sfixed64,proto3" json:"sfixed64,omitempty"` Bool bool `protobuf:"varint,13,opt,name=bool,proto3" json:"bool,omitempty"` StringX string `protobuf:"bytes,14,opt,name=string_x,json=stringX,proto3" json:"string_x,omitempty"` // x for collisions with go method String Bytes []byte `protobuf:"bytes,15,opt,name=bytes,proto3" json:"bytes,omitempty"` StringOptional *string `protobuf:"bytes,16,opt,name=string_optional,json=stringOptional,proto3,oneof" json:"string_optional,omitempty"` // contains filtered or unexported fields }
func (*Scalars) Descriptor
deprecated
func (*Scalars) GetFixed32 ¶
func (*Scalars) GetFixed64 ¶
func (*Scalars) GetSfixed32 ¶
func (*Scalars) GetSfixed64 ¶
func (*Scalars) GetStringOptional ¶
func (*Scalars) GetStringX ¶
func (*Scalars) ProtoMessage ¶
func (*Scalars) ProtoMessage()
func (*Scalars) ProtoReflect ¶
func (x *Scalars) ProtoReflect() protoreflect.Message
type ScalarsInput ¶
type ScalarsInput = Scalars
type ServiceClient ¶
type ServiceClient interface { Mutate1(ctx context.Context, in *Data, opts ...grpc.CallOption) (*Data, error) Mutate2(ctx context.Context, in *Data, opts ...grpc.CallOption) (*Data, error) Query1(ctx context.Context, in *Data, opts ...grpc.CallOption) (*Data, error) Publish(ctx context.Context, opts ...grpc.CallOption) (Service_PublishClient, error) Subscribe(ctx context.Context, in *Data, opts ...grpc.CallOption) (Service_SubscribeClient, error) PubSub1(ctx context.Context, opts ...grpc.CallOption) (Service_PubSub1Client, error) InvalidSubscribe1(ctx context.Context, opts ...grpc.CallOption) (Service_InvalidSubscribe1Client, error) InvalidSubscribe2(ctx context.Context, in *Data, opts ...grpc.CallOption) (Service_InvalidSubscribe2Client, error) InvalidSubscribe3(ctx context.Context, opts ...grpc.CallOption) (Service_InvalidSubscribe3Client, error) PubSub2(ctx context.Context, opts ...grpc.CallOption) (Service_PubSub2Client, error) Ignore(ctx context.Context, in *Data, opts ...grpc.CallOption) (*Data, error) Name(ctx context.Context, in *Data, opts ...grpc.CallOption) (*Data, error) }
ServiceClient is the client API for Service service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewServiceClient ¶
func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient
type ServiceResolvers ¶
type ServiceResolvers struct{ Service ServiceServer }
func (*ServiceResolvers) ServiceMutate1 ¶
func (*ServiceResolvers) ServiceMutate2 ¶
func (*ServiceResolvers) ServiceQuery1 ¶
type ServiceServer ¶
type ServiceServer interface { Mutate1(context.Context, *Data) (*Data, error) Mutate2(context.Context, *Data) (*Data, error) Query1(context.Context, *Data) (*Data, error) Publish(Service_PublishServer) error Subscribe(*Data, Service_SubscribeServer) error PubSub1(Service_PubSub1Server) error InvalidSubscribe1(Service_InvalidSubscribe1Server) error InvalidSubscribe2(*Data, Service_InvalidSubscribe2Server) error InvalidSubscribe3(Service_InvalidSubscribe3Server) error PubSub2(Service_PubSub2Server) error Ignore(context.Context, *Data) (*Data, error) Name(context.Context, *Data) (*Data, error) // contains filtered or unexported methods }
ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility
type Service_InvalidSubscribe2Client ¶
type Service_InvalidSubscribe2Client interface { Recv() (*Data, error) grpc.ClientStream }
type Service_InvalidSubscribe2Server ¶
type Service_InvalidSubscribe2Server interface { Send(*Data) error grpc.ServerStream }
type Service_PubSub1Client ¶
type Service_PubSub1Server ¶
type Service_PubSub2Client ¶
type Service_PubSub2Server ¶
type Service_PublishClient ¶
type Service_PublishServer ¶
type Service_SubscribeClient ¶
type Service_SubscribeClient interface { Recv() (*Data, error) grpc.ClientStream }
type Service_SubscribeServer ¶
type Service_SubscribeServer interface { Send(*Data) error grpc.ServerStream }
type TestClient ¶
type TestClient interface { Name(ctx context.Context, in *Data, opts ...grpc.CallOption) (*Data, error) NewName(ctx context.Context, in *Data, opts ...grpc.CallOption) (*Data, error) }
TestClient is the client API for Test service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTestClient ¶
func NewTestClient(cc grpc.ClientConnInterface) TestClient
type TestServer ¶
type TestServer interface { Name(context.Context, *Data) (*Data, error) NewName(context.Context, *Data) (*Data, error) // contains filtered or unexported methods }
TestServer is the server API for Test service. All implementations must embed UnimplementedTestServer for forward compatibility
type Timestamp ¶
type Timestamp struct { Time string `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*Timestamp) Descriptor
deprecated
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message
type TimestampInput ¶
type TimestampInput = Timestamp
type UnimplementedConstructsServer ¶
type UnimplementedConstructsServer struct { }
UnimplementedConstructsServer must be embedded to have forward compatible implementations.
func (UnimplementedConstructsServer) CallWithId ¶
func (UnimplementedConstructsServer) Empty2_ ¶
func (UnimplementedConstructsServer) Empty2_(context.Context, *EmptyRecursive) (*EmptyNested, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) Subscribe ¶
func (UnimplementedQueryServer) Subscribe(*Data, Query_SubscribeServer) error
type UnimplementedServiceServer ¶
type UnimplementedServiceServer struct { }
UnimplementedServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedServiceServer) InvalidSubscribe1 ¶
func (UnimplementedServiceServer) InvalidSubscribe1(Service_InvalidSubscribe1Server) error
func (UnimplementedServiceServer) InvalidSubscribe2 ¶
func (UnimplementedServiceServer) InvalidSubscribe2(*Data, Service_InvalidSubscribe2Server) error
func (UnimplementedServiceServer) InvalidSubscribe3 ¶
func (UnimplementedServiceServer) InvalidSubscribe3(Service_InvalidSubscribe3Server) error
func (UnimplementedServiceServer) PubSub1 ¶
func (UnimplementedServiceServer) PubSub1(Service_PubSub1Server) error
func (UnimplementedServiceServer) PubSub2 ¶
func (UnimplementedServiceServer) PubSub2(Service_PubSub2Server) error
func (UnimplementedServiceServer) Publish ¶
func (UnimplementedServiceServer) Publish(Service_PublishServer) error
func (UnimplementedServiceServer) Subscribe ¶
func (UnimplementedServiceServer) Subscribe(*Data, Service_SubscribeServer) error
type UnimplementedTestServer ¶
type UnimplementedTestServer struct { }
UnimplementedTestServer must be embedded to have forward compatible implementations.
type UnsafeConstructsServer ¶
type UnsafeConstructsServer interface {
// contains filtered or unexported methods
}
UnsafeConstructsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConstructsServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.
type UnsafeServiceServer ¶
type UnsafeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.
type UnsafeTestServer ¶
type UnsafeTestServer interface {
// contains filtered or unexported methods
}
UnsafeTestServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TestServer will result in compilation errors.