KeyValueServer is the server API for KeyValue service. All implementations must embed UnimplementedKeyValueServer for forward compatibility
| 78 | // All implementations must embed UnimplementedKeyValueServer |
| 79 | // for forward compatibility |
| 80 | type KeyValueServer interface { |
| 81 | Get(context.Context, *GetRequest) (*GetResponse, error) |
| 82 | Put(context.Context, *PutRequest) (*PutResponse, error) |
| 83 | Delete(context.Context, *DeleteRequest) (*PutResponse, error) |
| 84 | mustEmbedUnimplementedKeyValueServer() |
| 85 | } |
| 86 | |
| 87 | // UnimplementedKeyValueServer must be embedded to have forward compatible implementations. |
| 88 | type UnimplementedKeyValueServer struct { |
nothing calls this directly
no outgoing calls
no test coverage detected