package proto
Import Path
github.com/pancsta/asyncmachine-go/examples/benchmark_grpc/proto (on go.dev )
Dependency Relation
imports 8 packages , and imported by one package
Package-Level Type Names (total 10)
/* sort by: alphabet | popularity */
type CallOpRequest (struct)
Fields (only one )
Op int32
Methods (total 6 )
(*CallOpRequest) Descriptor () ([]byte , []int )
Deprecated: Use CallOpRequest.ProtoReflect.Descriptor instead.
(*CallOpRequest) GetOp () int32
(*CallOpRequest) ProtoMessage ()
(*CallOpRequest) ProtoReflect () protoreflect .Message
(*CallOpRequest) Reset ()
(*CallOpRequest) String () string
Implements (at least 5 )
*CallOpRequest : github.com/gogo/protobuf/proto.Message
*CallOpRequest : expvar.Var
*CallOpRequest : fmt.Stringer
*CallOpRequest : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*CallOpRequest : google.golang.org/protobuf/runtime/protoiface.MessageV1
As Inputs Of (at least 4 )
func UnimplementedWorkerServiceServer .CallOp (context .Context , *CallOpRequest ) (*CallOpResponse , error )
func WorkerServiceClient .CallOp (ctx context .Context , in *CallOpRequest , opts ...grpc .CallOption ) (*CallOpResponse , error )
func WorkerServiceServer .CallOp (context .Context , *CallOpRequest ) (*CallOpResponse , error )
func github.com/pancsta/asyncmachine-go/examples/benchmark_grpc.(*WorkerServiceServer ).CallOp (ctx context .Context , req *CallOpRequest ) (*CallOpResponse , error )
type CallOpResponse (struct)
Fields (only one )
Success bool
Methods (total 6 )
(*CallOpResponse) Descriptor () ([]byte , []int )
Deprecated: Use CallOpResponse.ProtoReflect.Descriptor instead.
(*CallOpResponse) GetSuccess () bool
(*CallOpResponse) ProtoMessage ()
(*CallOpResponse) ProtoReflect () protoreflect .Message
(*CallOpResponse) Reset ()
(*CallOpResponse) String () string
Implements (at least 5 )
*CallOpResponse : github.com/gogo/protobuf/proto.Message
*CallOpResponse : expvar.Var
*CallOpResponse : fmt.Stringer
*CallOpResponse : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*CallOpResponse : google.golang.org/protobuf/runtime/protoiface.MessageV1
As Outputs Of (at least 4 )
func UnimplementedWorkerServiceServer .CallOp (context .Context , *CallOpRequest ) (*CallOpResponse , error )
func WorkerServiceClient .CallOp (ctx context .Context , in *CallOpRequest , opts ...grpc .CallOption ) (*CallOpResponse , error )
func WorkerServiceServer .CallOp (context .Context , *CallOpRequest ) (*CallOpResponse , error )
func github.com/pancsta/asyncmachine-go/examples/benchmark_grpc.(*WorkerServiceServer ).CallOp (ctx context .Context , req *CallOpRequest ) (*CallOpResponse , error )
type Empty (struct)
Methods (total 5 )
(*Empty) Descriptor () ([]byte , []int )
Deprecated: Use Empty.ProtoReflect.Descriptor instead.
(*Empty) ProtoMessage ()
(*Empty) ProtoReflect () protoreflect .Message
(*Empty) Reset ()
(*Empty) String () string
Implements (at least 5 )
*Empty : github.com/gogo/protobuf/proto.Message
*Empty : expvar.Var
*Empty : fmt.Stringer
*Empty : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*Empty : google.golang.org/protobuf/runtime/protoiface.MessageV1
As Outputs Of (at least 4 )
func UnimplementedWorkerServiceServer .Start (context .Context , *Empty ) (*Empty , error )
func WorkerServiceClient .Start (ctx context .Context , in *Empty , opts ...grpc .CallOption ) (*Empty , error )
func WorkerServiceServer .Start (context .Context , *Empty ) (*Empty , error )
func github.com/pancsta/asyncmachine-go/examples/benchmark_grpc.(*WorkerServiceServer ).Start (ctx context .Context , req *Empty ) (*Empty , error )
As Inputs Of (at least 12 )
func UnimplementedWorkerServiceServer .GetValue (context .Context , *Empty ) (*GetValueResponse , error )
func UnimplementedWorkerServiceServer .Start (context .Context , *Empty ) (*Empty , error )
func UnimplementedWorkerServiceServer .Subscribe (*Empty , grpc .ServerStreamingServer [Empty ]) error
func WorkerServiceClient .GetValue (ctx context .Context , in *Empty , opts ...grpc .CallOption ) (*GetValueResponse , error )
func WorkerServiceClient .Start (ctx context .Context , in *Empty , opts ...grpc .CallOption ) (*Empty , error )
func WorkerServiceClient .Subscribe (ctx context .Context , in *Empty , opts ...grpc .CallOption ) (grpc .ServerStreamingClient [Empty ], error )
func WorkerServiceServer .GetValue (context .Context , *Empty ) (*GetValueResponse , error )
func WorkerServiceServer .Start (context .Context , *Empty ) (*Empty , error )
func WorkerServiceServer .Subscribe (*Empty , grpc .ServerStreamingServer [Empty ]) error
func github.com/pancsta/asyncmachine-go/examples/benchmark_grpc.(*WorkerServiceServer ).GetValue (ctx context .Context , req *Empty ) (*GetValueResponse , error )
func github.com/pancsta/asyncmachine-go/examples/benchmark_grpc.(*WorkerServiceServer ).Start (ctx context .Context , req *Empty ) (*Empty , error )
func github.com/pancsta/asyncmachine-go/examples/benchmark_grpc.(*WorkerServiceServer ).Subscribe (req *Empty , stream WorkerService_SubscribeServer ) error
type GetValueResponse (struct)
Fields (only one )
Value int32
Methods (total 6 )
(*GetValueResponse) Descriptor () ([]byte , []int )
Deprecated: Use GetValueResponse.ProtoReflect.Descriptor instead.
(*GetValueResponse) GetValue () int32
(*GetValueResponse) ProtoMessage ()
(*GetValueResponse) ProtoReflect () protoreflect .Message
(*GetValueResponse) Reset ()
(*GetValueResponse) String () string
Implements (at least 5 )
*GetValueResponse : github.com/gogo/protobuf/proto.Message
*GetValueResponse : expvar.Var
*GetValueResponse : fmt.Stringer
*GetValueResponse : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*GetValueResponse : google.golang.org/protobuf/runtime/protoiface.MessageV1
As Outputs Of (at least 4 )
func UnimplementedWorkerServiceServer .GetValue (context .Context , *Empty ) (*GetValueResponse , error )
func WorkerServiceClient .GetValue (ctx context .Context , in *Empty , opts ...grpc .CallOption ) (*GetValueResponse , error )
func WorkerServiceServer .GetValue (context .Context , *Empty ) (*GetValueResponse , error )
func github.com/pancsta/asyncmachine-go/examples/benchmark_grpc.(*WorkerServiceServer ).GetValue (ctx context .Context , req *Empty ) (*GetValueResponse , error )
type WorkerServiceClient (interface)
WorkerServiceClient is the client API for WorkerService 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 .
Methods (total 4 )
( WorkerServiceClient) CallOp (ctx context .Context , in *CallOpRequest , opts ...grpc .CallOption ) (*CallOpResponse , error )
( WorkerServiceClient) GetValue (ctx context .Context , in *Empty , opts ...grpc .CallOption ) (*GetValueResponse , error )
( WorkerServiceClient) Start (ctx context .Context , in *Empty , opts ...grpc .CallOption ) (*Empty , error )
( WorkerServiceClient) Subscribe (ctx context .Context , in *Empty , opts ...grpc .CallOption ) (grpc .ServerStreamingClient [Empty ], error )
As Outputs Of (at least one exported )
func NewWorkerServiceClient (cc grpc .ClientConnInterface ) WorkerServiceClient
Package-Level Functions (total 2)
Package-Level Variables (total 2)
Package-Level Constants (total 4)
The pages are generated with Golds v0.8.2 . (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds .