Documentation ¶
Index ¶
- Constants
- func SetupFakeTagServer(port int)
- type FakeKVStoreServer
- func (s *FakeKVStoreServer) Delete(c context.Context, req *storepb.DeleteRequest) (*storepb.DeleteResponse, error)
- func (s *FakeKVStoreServer) Get(c context.Context, req *storepb.GetRequest) (*storepb.GetResponse, error)
- func (s *FakeKVStoreServer) Set(c context.Context, req *storepb.SetRequest) (*storepb.SetResponse, error)
Constants ¶
View Source
const ( ValidKey = "validKey" ValidValue = "value" )
Variables ¶
This section is empty.
Functions ¶
func SetupFakeTagServer ¶
func SetupFakeTagServer(port int)
Types ¶
type FakeKVStoreServer ¶
type FakeKVStoreServer struct {
storepb.UnimplementedKVStoreServer
}
func NewFakeKVStoreServer ¶
func NewFakeKVStoreServer() *FakeKVStoreServer
func (*FakeKVStoreServer) Delete ¶
func (s *FakeKVStoreServer) Delete(c context.Context, req *storepb.DeleteRequest) (*storepb.DeleteResponse, error)
func (*FakeKVStoreServer) Get ¶
func (s *FakeKVStoreServer) Get(c context.Context, req *storepb.GetRequest) (*storepb.GetResponse, error)
func (*FakeKVStoreServer) Set ¶
func (s *FakeKVStoreServer) Set(c context.Context, req *storepb.SetRequest) (*storepb.SetResponse, error)
Click to show internal directories.
Click to hide internal directories.