Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(cc grpc.ClientConnInterface) *Client
type Server ¶
type Server struct { pb.UnimplementedKeyValueStoreServer // contains filtered or unexported fields }
func NewServer ¶
func NewServer(impl core.KeyValueStore) *Server
func (Server) GetValueForKey ¶
func (s Server) GetValueForKey(ctx context.Context, req *pb.GetValueForKeyRequest) (*pb.GetValueForKeyResponse, error)
func (Server) StoreKeyValue ¶
Click to show internal directories.
Click to hide internal directories.