Documentation ¶
Index ¶
- func RegisterMetaServer(s *grpc.Server, srv MetaServer)
- type MetaClient
- type MetaServer
- type UnimplementedMetaServer
- func (*UnimplementedMetaServer) DeleteMeta(ctx context.Context, req *payload.Meta_Key) (*payload.Meta_Val, error)
- func (*UnimplementedMetaServer) DeleteMetaInverse(ctx context.Context, req *payload.Meta_Val) (*payload.Meta_Key, error)
- func (*UnimplementedMetaServer) DeleteMetas(ctx context.Context, req *payload.Meta_Keys) (*payload.Meta_Vals, error)
- func (*UnimplementedMetaServer) DeleteMetasInverse(ctx context.Context, req *payload.Meta_Vals) (*payload.Meta_Keys, error)
- func (*UnimplementedMetaServer) GetMeta(ctx context.Context, req *payload.Meta_Key) (*payload.Meta_Val, error)
- func (*UnimplementedMetaServer) GetMetaInverse(ctx context.Context, req *payload.Meta_Val) (*payload.Meta_Key, error)
- func (*UnimplementedMetaServer) GetMetas(ctx context.Context, req *payload.Meta_Keys) (*payload.Meta_Vals, error)
- func (*UnimplementedMetaServer) GetMetasInverse(ctx context.Context, req *payload.Meta_Vals) (*payload.Meta_Keys, error)
- func (*UnimplementedMetaServer) SetMeta(ctx context.Context, req *payload.Meta_KeyVal) (*payload.Empty, error)
- func (*UnimplementedMetaServer) SetMetas(ctx context.Context, req *payload.Meta_KeyVals) (*payload.Empty, error)
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 ¶
type MetaServer interface { GetMeta(context.Context, *payload.Meta_Key) (*payload.Meta_Val, error) GetMetas(context.Context, *payload.Meta_Keys) (*payload.Meta_Vals, error) GetMetaInverse(context.Context, *payload.Meta_Val) (*payload.Meta_Key, error) GetMetasInverse(context.Context, *payload.Meta_Vals) (*payload.Meta_Keys, error) SetMeta(context.Context, *payload.Meta_KeyVal) (*payload.Empty, error) SetMetas(context.Context, *payload.Meta_KeyVals) (*payload.Empty, error) DeleteMeta(context.Context, *payload.Meta_Key) (*payload.Meta_Val, error) DeleteMetas(context.Context, *payload.Meta_Keys) (*payload.Meta_Vals, error) DeleteMetaInverse(context.Context, *payload.Meta_Val) (*payload.Meta_Key, error) DeleteMetasInverse(context.Context, *payload.Meta_Vals) (*payload.Meta_Keys, error) }
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) DeleteMetas ¶
func (*UnimplementedMetaServer) DeleteMetasInverse ¶
func (*UnimplementedMetaServer) GetMetaInverse ¶
func (*UnimplementedMetaServer) GetMetasInverse ¶
func (*UnimplementedMetaServer) SetMeta ¶
func (*UnimplementedMetaServer) SetMeta(ctx context.Context, req *payload.Meta_KeyVal) (*payload.Empty, error)
func (*UnimplementedMetaServer) SetMetas ¶
func (*UnimplementedMetaServer) SetMetas(ctx context.Context, req *payload.Meta_KeyVals) (*payload.Empty, error)
Click to show internal directories.
Click to hide internal directories.