rpc

package
v0.0.0-...-dae3534 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheRpc

type CacheRpc struct {
}

func NewServer

func NewServer() *CacheRpc

func (*CacheRpc) AddCache

func (c *CacheRpc) AddCache(ctx context.Context, req *proto.AddCacheReq) (*emptypb.Empty, error)

func (*CacheRpc) DeleteCache

func (c *CacheRpc) DeleteCache(ctx context.Context, req *proto.DeleteCacheReq) (*emptypb.Empty, error)

func (*CacheRpc) DropTable

func (c *CacheRpc) DropTable(_ context.Context, req *proto.DropTableReq) (*emptypb.Empty, error)

func (*CacheRpc) GetCache

func (c *CacheRpc) GetCache(_ context.Context, req *proto.GetCacheReq) (*proto.GetCacheResp, error)

func (*CacheRpc) ListCache

func (c *CacheRpc) ListCache(_ context.Context, req *proto.ListCacheReq) (*proto.ListCacheResp, error)

func (*CacheRpc) ListTable

func (c *CacheRpc) ListTable(_ context.Context, req *proto.ListTableReq) (*proto.ListTableResp, error)

func (*CacheRpc) RegisterTable

func (c *CacheRpc) RegisterTable(ctx context.Context, req *proto.RegisterTableReq) (*proto.RegisterTableResp, error)

RegisterTable create a table named with user custom define

Jump to

Keyboard shortcuts

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