KeyValueClient is the client API for KeyValue 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.
| 34 | // |
| 35 | // 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. |
| 36 | type KeyValueClient interface { |
| 37 | Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) |
| 38 | Put(ctx context.Context, in *PutRequest, opts ...grpc.CallOption) (*PutResponse, error) |
| 39 | Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*PutResponse, error) |
| 40 | } |
| 41 | |
| 42 | type keyValueClient struct { |
| 43 | cc grpc.ClientConnInterface |
no outgoing calls
no test coverage detected