meta

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterMetaServer

func RegisterMetaServer(s *grpc.Server, srv MetaServer)

Types

type MetaClient

type MetaClient interface {
	GetMeta(ctx context.Context, in *payload.Meta_Key, opts ...grpc.CallOption) (*payload.Meta_Val, error)
	GetMetas(ctx context.Context, in *payload.Meta_Keys, opts ...grpc.CallOption) (*payload.Meta_Vals, error)
	GetMetaInverse(ctx context.Context, in *payload.Meta_Val, opts ...grpc.CallOption) (*payload.Meta_Key, error)
	GetMetasInverse(ctx context.Context, in *payload.Meta_Vals, opts ...grpc.CallOption) (*payload.Meta_Keys, error)
	SetMeta(ctx context.Context, in *payload.Meta_KeyVal, opts ...grpc.CallOption) (*payload.Empty, error)
	SetMetas(ctx context.Context, in *payload.Meta_KeyVals, opts ...grpc.CallOption) (*payload.Empty, error)
	DeleteMeta(ctx context.Context, in *payload.Meta_Key, opts ...grpc.CallOption) (*payload.Meta_Val, error)
	DeleteMetas(ctx context.Context, in *payload.Meta_Keys, opts ...grpc.CallOption) (*payload.Meta_Vals, error)
	DeleteMetaInverse(ctx context.Context, in *payload.Meta_Val, opts ...grpc.CallOption) (*payload.Meta_Key, error)
	DeleteMetasInverse(ctx context.Context, in *payload.Meta_Vals, opts ...grpc.CallOption) (*payload.Meta_Keys, error)
}

MetaClient is the client API for Meta service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMetaClient

func NewMetaClient(cc *grpc.ClientConn) MetaClient

type MetaServer

MetaServer is the server API for Meta service.

type UnimplementedMetaServer

type UnimplementedMetaServer struct {
}

UnimplementedMetaServer can be embedded to have forward compatible implementations.

func (*UnimplementedMetaServer) DeleteMeta

func (*UnimplementedMetaServer) DeleteMetaInverse

func (*UnimplementedMetaServer) DeleteMetaInverse(ctx context.Context, req *payload.Meta_Val) (*payload.Meta_Key, error)

func (*UnimplementedMetaServer) DeleteMetas

func (*UnimplementedMetaServer) DeleteMetasInverse

func (*UnimplementedMetaServer) DeleteMetasInverse(ctx context.Context, req *payload.Meta_Vals) (*payload.Meta_Keys, error)

func (*UnimplementedMetaServer) GetMeta

func (*UnimplementedMetaServer) GetMetaInverse

func (*UnimplementedMetaServer) GetMetas

func (*UnimplementedMetaServer) GetMetasInverse

func (*UnimplementedMetaServer) SetMeta

func (*UnimplementedMetaServer) SetMetas

Jump to

Keyboard shortcuts

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