Home | History | Annotate | Download | only in Example

Lines Matching refs:gRPC

1 //Generated by gRPC Go plugin
11 grpc "google.golang.org/grpc"
17 opts... grpc.CallOption) (* Stat, error)
19 opts... grpc.CallOption) (MonsterStorage_RetrieveClient, error)
21 opts... grpc.CallOption) (MonsterStorage_GetMaxHitPointClient, error)
23 opts... grpc.CallOption) (MonsterStorage_GetMinMaxHitPointsClient, error)
27 cc *grpc.ClientConn
30 func NewMonsterStorageClient(cc *grpc.ClientConn) MonsterStorageClient {
35 opts... grpc.CallOption) (* Stat, error) {
37 err := grpc.Invoke(ctx, "/MyGame.Example.MonsterStorage/Store", in, out, c.cc, opts...)
43 opts... grpc.CallOption) (MonsterStorage_RetrieveClient, error) {
44 stream, err := grpc.NewClientStream(ctx, &_MonsterStorage_serviceDesc.Streams[0], c.cc, "/MyGame.Example.MonsterStorage/Retrieve", opts...)
54 grpc.ClientStream
58 grpc.ClientStream
68 opts... grpc.CallOption) (MonsterStorage_GetMaxHitPointClient, error) {
69 stream, err := grpc.NewClientStream(ctx, &_MonsterStorage_serviceDesc.Streams[1], c.cc, "/MyGame.Example.MonsterStorage/GetMaxHitPoint", opts...)
78 grpc.ClientStream
82 grpc.ClientStream
97 opts... grpc.CallOption) (MonsterStorage_GetMinMaxHitPointsClient, error) {
98 stream, err := grpc.NewClientStream(ctx, &_MonsterStorage_serviceDesc.Streams[2], c.cc, "/MyGame.Example.MonsterStorage/GetMinMaxHitPoints", opts...)
107 grpc.ClientStream
111 grpc.ClientStream
132 func RegisterMonsterStorageServer(s *grpc.Server, srv MonsterStorageServer) {
137 dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
141 info := &grpc.UnaryServerInfo{
153 func _MonsterStorage_Retrieve_Handler(srv interface{}, stream grpc.ServerStream) error {
161 grpc.ServerStream
165 grpc.ServerStream
173 func _MonsterStorage_GetMaxHitPoint_Handler(srv interface{}, stream grpc.ServerStream) error {
180 grpc.ServerStream
184 grpc.ServerStream
198 func _MonsterStorage_GetMinMaxHitPoints_Handler(srv interface{}, stream grpc.ServerStream) error {
205 grpc.ServerStream
209 grpc.ServerStream
223 var _MonsterStorage_serviceDesc = grpc.ServiceDesc{
226 Methods: []grpc.MethodDesc{
232 Streams: []grpc.StreamDesc{