kvstore

package
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2022 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcKVStore

type GrpcKVStore struct {
	*kvstore.InmemoryKVStore

	UnimplementedKVStoreServer
	// contains filtered or unexported fields
}

func NewGrpcKVstore

func NewGrpcKVstore(addresses []string, serverPort int, logger *logging.LoggerUtil) (*GrpcKVStore, error)

func (*GrpcKVStore) PutVal

func (g *GrpcKVStore) PutVal(key string, storeVal interface{}) error

func (*GrpcKVStore) StopServe

func (g *GrpcKVStore) StopServe()

func (*GrpcKVStore) StoreVal

func (g *GrpcKVStore) StoreVal(ctx context.Context, storeValRequest *StoreValRequest) (*StoreValResponse, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL