Documentation ¶
Index ¶
- func RegisterTagdServiceServer(s *grpc.Server, srv TagdServiceServer)
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)
- func (m *GetRequest) GetId() *wrappers.StringValue
- func (*GetRequest) ProtoMessage()
- func (m *GetRequest) Reset()
- func (m *GetRequest) String() string
- func (this *GetRequest) Validate() error
- func (m *GetRequest) XXX_DiscardUnknown()
- func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRequest) XXX_Merge(src proto.Message)
- func (m *GetRequest) XXX_Size() int
- func (m *GetRequest) XXX_Unmarshal(b []byte) error
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)
- func (m *GetResponse) GetId() string
- func (m *GetResponse) GetTags() []string
- func (*GetResponse) ProtoMessage()
- func (m *GetResponse) Reset()
- func (m *GetResponse) String() string
- func (this *GetResponse) Validate() error
- func (m *GetResponse) XXX_DiscardUnknown()
- func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetResponse) XXX_Merge(src proto.Message)
- func (m *GetResponse) XXX_Size() int
- func (m *GetResponse) XXX_Unmarshal(b []byte) error
- type QueryRequest
- func (*QueryRequest) Descriptor() ([]byte, []int)
- func (m *QueryRequest) GetTags() []*wrappers.StringValue
- func (*QueryRequest) ProtoMessage()
- func (m *QueryRequest) Reset()
- func (m *QueryRequest) String() string
- func (this *QueryRequest) Validate() error
- func (m *QueryRequest) XXX_DiscardUnknown()
- func (m *QueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRequest) XXX_Merge(src proto.Message)
- func (m *QueryRequest) XXX_Size() int
- func (m *QueryRequest) XXX_Unmarshal(b []byte) error
- type QueryResponse
- func (*QueryResponse) Descriptor() ([]byte, []int)
- func (m *QueryResponse) GetIds() []string
- func (m *QueryResponse) GetTags() []string
- func (*QueryResponse) ProtoMessage()
- func (m *QueryResponse) Reset()
- func (m *QueryResponse) String() string
- func (this *QueryResponse) Validate() error
- func (m *QueryResponse) XXX_DiscardUnknown()
- func (m *QueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryResponse) XXX_Merge(src proto.Message)
- func (m *QueryResponse) XXX_Size() int
- func (m *QueryResponse) XXX_Unmarshal(b []byte) error
- type RemoveRequest
- func (*RemoveRequest) Descriptor() ([]byte, []int)
- func (m *RemoveRequest) GetId() *wrappers.StringValue
- func (*RemoveRequest) ProtoMessage()
- func (m *RemoveRequest) Reset()
- func (m *RemoveRequest) String() string
- func (this *RemoveRequest) Validate() error
- func (m *RemoveRequest) XXX_DiscardUnknown()
- func (m *RemoveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveRequest) XXX_Merge(src proto.Message)
- func (m *RemoveRequest) XXX_Size() int
- func (m *RemoveRequest) XXX_Unmarshal(b []byte) error
- type TagRequest
- func (*TagRequest) Descriptor() ([]byte, []int)
- func (m *TagRequest) GetId() *wrappers.StringValue
- func (m *TagRequest) GetTags() []*wrappers.StringValue
- func (*TagRequest) ProtoMessage()
- func (m *TagRequest) Reset()
- func (m *TagRequest) String() string
- func (this *TagRequest) Validate() error
- func (m *TagRequest) XXX_DiscardUnknown()
- func (m *TagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TagRequest) XXX_Merge(src proto.Message)
- func (m *TagRequest) XXX_Size() int
- func (m *TagRequest) XXX_Unmarshal(b []byte) error
- type TagdServiceClient
- type TagdServiceServer
- type UnimplementedTagdServiceServer
- func (*UnimplementedTagdServiceServer) Get(ctx context.Context, req *GetRequest) (*GetResponse, error)
- func (*UnimplementedTagdServiceServer) Query(ctx context.Context, req *QueryRequest) (*QueryResponse, error)
- func (*UnimplementedTagdServiceServer) Remove(ctx context.Context, req *RemoveRequest) (*empty.Empty, error)
- func (*UnimplementedTagdServiceServer) Tag(ctx context.Context, req *TagRequest) (*empty.Empty, error)
- func (*UnimplementedTagdServiceServer) Untag(ctx context.Context, req *UntagRequest) (*empty.Empty, error)
- type UntagRequest
- func (*UntagRequest) Descriptor() ([]byte, []int)
- func (m *UntagRequest) GetId() *wrappers.StringValue
- func (m *UntagRequest) GetTags() []*wrappers.StringValue
- func (*UntagRequest) ProtoMessage()
- func (m *UntagRequest) Reset()
- func (m *UntagRequest) String() string
- func (this *UntagRequest) Validate() error
- func (m *UntagRequest) XXX_DiscardUnknown()
- func (m *UntagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UntagRequest) XXX_Merge(src proto.Message)
- func (m *UntagRequest) XXX_Size() int
- func (m *UntagRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTagdServiceServer ¶
func RegisterTagdServiceServer(s *grpc.Server, srv TagdServiceServer)
Types ¶
type GetRequest ¶
type GetRequest struct { Id *wrappers.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRequest) Descriptor ¶
func (*GetRequest) Descriptor() ([]byte, []int)
func (*GetRequest) GetId ¶
func (m *GetRequest) GetId() *wrappers.StringValue
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) Reset ¶
func (m *GetRequest) Reset()
func (*GetRequest) String ¶
func (m *GetRequest) String() string
func (*GetRequest) Validate ¶
func (this *GetRequest) Validate() error
func (*GetRequest) XXX_DiscardUnknown ¶
func (m *GetRequest) XXX_DiscardUnknown()
func (*GetRequest) XXX_Marshal ¶
func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRequest) XXX_Merge ¶
func (m *GetRequest) XXX_Merge(src proto.Message)
func (*GetRequest) XXX_Size ¶
func (m *GetRequest) XXX_Size() int
func (*GetRequest) XXX_Unmarshal ¶
func (m *GetRequest) XXX_Unmarshal(b []byte) error
type GetResponse ¶
type GetResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetResponse) Descriptor ¶
func (*GetResponse) Descriptor() ([]byte, []int)
func (*GetResponse) GetId ¶
func (m *GetResponse) GetId() string
func (*GetResponse) GetTags ¶
func (m *GetResponse) GetTags() []string
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) Reset ¶
func (m *GetResponse) Reset()
func (*GetResponse) String ¶
func (m *GetResponse) String() string
func (*GetResponse) Validate ¶
func (this *GetResponse) Validate() error
func (*GetResponse) XXX_DiscardUnknown ¶
func (m *GetResponse) XXX_DiscardUnknown()
func (*GetResponse) XXX_Marshal ¶
func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetResponse) XXX_Merge ¶
func (m *GetResponse) XXX_Merge(src proto.Message)
func (*GetResponse) XXX_Size ¶
func (m *GetResponse) XXX_Size() int
func (*GetResponse) XXX_Unmarshal ¶
func (m *GetResponse) XXX_Unmarshal(b []byte) error
type QueryRequest ¶
type QueryRequest struct { Tags []*wrappers.StringValue `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*QueryRequest) Descriptor ¶
func (*QueryRequest) Descriptor() ([]byte, []int)
func (*QueryRequest) GetTags ¶
func (m *QueryRequest) GetTags() []*wrappers.StringValue
func (*QueryRequest) ProtoMessage ¶
func (*QueryRequest) ProtoMessage()
func (*QueryRequest) Reset ¶
func (m *QueryRequest) Reset()
func (*QueryRequest) String ¶
func (m *QueryRequest) String() string
func (*QueryRequest) Validate ¶
func (this *QueryRequest) Validate() error
func (*QueryRequest) XXX_DiscardUnknown ¶
func (m *QueryRequest) XXX_DiscardUnknown()
func (*QueryRequest) XXX_Marshal ¶
func (m *QueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRequest) XXX_Merge ¶
func (m *QueryRequest) XXX_Merge(src proto.Message)
func (*QueryRequest) XXX_Size ¶
func (m *QueryRequest) XXX_Size() int
func (*QueryRequest) XXX_Unmarshal ¶
func (m *QueryRequest) XXX_Unmarshal(b []byte) error
type QueryResponse ¶
type QueryResponse struct { Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` Ids []string `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*QueryResponse) Descriptor ¶
func (*QueryResponse) Descriptor() ([]byte, []int)
func (*QueryResponse) GetIds ¶
func (m *QueryResponse) GetIds() []string
func (*QueryResponse) GetTags ¶
func (m *QueryResponse) GetTags() []string
func (*QueryResponse) ProtoMessage ¶
func (*QueryResponse) ProtoMessage()
func (*QueryResponse) Reset ¶
func (m *QueryResponse) Reset()
func (*QueryResponse) String ¶
func (m *QueryResponse) String() string
func (*QueryResponse) Validate ¶
func (this *QueryResponse) Validate() error
func (*QueryResponse) XXX_DiscardUnknown ¶
func (m *QueryResponse) XXX_DiscardUnknown()
func (*QueryResponse) XXX_Marshal ¶
func (m *QueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryResponse) XXX_Merge ¶
func (m *QueryResponse) XXX_Merge(src proto.Message)
func (*QueryResponse) XXX_Size ¶
func (m *QueryResponse) XXX_Size() int
func (*QueryResponse) XXX_Unmarshal ¶
func (m *QueryResponse) XXX_Unmarshal(b []byte) error
type RemoveRequest ¶
type RemoveRequest struct { Id *wrappers.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveRequest) Descriptor ¶
func (*RemoveRequest) Descriptor() ([]byte, []int)
func (*RemoveRequest) GetId ¶
func (m *RemoveRequest) GetId() *wrappers.StringValue
func (*RemoveRequest) ProtoMessage ¶
func (*RemoveRequest) ProtoMessage()
func (*RemoveRequest) Reset ¶
func (m *RemoveRequest) Reset()
func (*RemoveRequest) String ¶
func (m *RemoveRequest) String() string
func (*RemoveRequest) Validate ¶
func (this *RemoveRequest) Validate() error
func (*RemoveRequest) XXX_DiscardUnknown ¶
func (m *RemoveRequest) XXX_DiscardUnknown()
func (*RemoveRequest) XXX_Marshal ¶
func (m *RemoveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveRequest) XXX_Merge ¶
func (m *RemoveRequest) XXX_Merge(src proto.Message)
func (*RemoveRequest) XXX_Size ¶
func (m *RemoveRequest) XXX_Size() int
func (*RemoveRequest) XXX_Unmarshal ¶
func (m *RemoveRequest) XXX_Unmarshal(b []byte) error
type TagRequest ¶
type TagRequest struct { Id *wrappers.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Tags []*wrappers.StringValue `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TagRequest) Descriptor ¶
func (*TagRequest) Descriptor() ([]byte, []int)
func (*TagRequest) GetId ¶
func (m *TagRequest) GetId() *wrappers.StringValue
func (*TagRequest) GetTags ¶
func (m *TagRequest) GetTags() []*wrappers.StringValue
func (*TagRequest) ProtoMessage ¶
func (*TagRequest) ProtoMessage()
func (*TagRequest) Reset ¶
func (m *TagRequest) Reset()
func (*TagRequest) String ¶
func (m *TagRequest) String() string
func (*TagRequest) Validate ¶
func (this *TagRequest) Validate() error
func (*TagRequest) XXX_DiscardUnknown ¶
func (m *TagRequest) XXX_DiscardUnknown()
func (*TagRequest) XXX_Marshal ¶
func (m *TagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TagRequest) XXX_Merge ¶
func (m *TagRequest) XXX_Merge(src proto.Message)
func (*TagRequest) XXX_Size ¶
func (m *TagRequest) XXX_Size() int
func (*TagRequest) XXX_Unmarshal ¶
func (m *TagRequest) XXX_Unmarshal(b []byte) error
type TagdServiceClient ¶
type TagdServiceClient interface { Tag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*empty.Empty, error) Untag(ctx context.Context, in *UntagRequest, opts ...grpc.CallOption) (*empty.Empty, error) Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*empty.Empty, error) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error) }
TagdServiceClient is the client API for TagdService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTagdServiceClient ¶
func NewTagdServiceClient(cc *grpc.ClientConn) TagdServiceClient
type TagdServiceServer ¶
type TagdServiceServer interface { Tag(context.Context, *TagRequest) (*empty.Empty, error) Untag(context.Context, *UntagRequest) (*empty.Empty, error) Remove(context.Context, *RemoveRequest) (*empty.Empty, error) Get(context.Context, *GetRequest) (*GetResponse, error) Query(context.Context, *QueryRequest) (*QueryResponse, error) }
TagdServiceServer is the server API for TagdService service.
type UnimplementedTagdServiceServer ¶ added in v1.0.0
type UnimplementedTagdServiceServer struct { }
UnimplementedTagdServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTagdServiceServer) Get ¶ added in v1.0.0
func (*UnimplementedTagdServiceServer) Get(ctx context.Context, req *GetRequest) (*GetResponse, error)
func (*UnimplementedTagdServiceServer) Query ¶ added in v1.0.0
func (*UnimplementedTagdServiceServer) Query(ctx context.Context, req *QueryRequest) (*QueryResponse, error)
func (*UnimplementedTagdServiceServer) Remove ¶ added in v1.0.0
func (*UnimplementedTagdServiceServer) Remove(ctx context.Context, req *RemoveRequest) (*empty.Empty, error)
func (*UnimplementedTagdServiceServer) Tag ¶ added in v1.0.0
func (*UnimplementedTagdServiceServer) Tag(ctx context.Context, req *TagRequest) (*empty.Empty, error)
func (*UnimplementedTagdServiceServer) Untag ¶ added in v1.0.0
func (*UnimplementedTagdServiceServer) Untag(ctx context.Context, req *UntagRequest) (*empty.Empty, error)
type UntagRequest ¶
type UntagRequest struct { Id *wrappers.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Tags []*wrappers.StringValue `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UntagRequest) Descriptor ¶
func (*UntagRequest) Descriptor() ([]byte, []int)
func (*UntagRequest) GetId ¶
func (m *UntagRequest) GetId() *wrappers.StringValue
func (*UntagRequest) GetTags ¶
func (m *UntagRequest) GetTags() []*wrappers.StringValue
func (*UntagRequest) ProtoMessage ¶
func (*UntagRequest) ProtoMessage()
func (*UntagRequest) Reset ¶
func (m *UntagRequest) Reset()
func (*UntagRequest) String ¶
func (m *UntagRequest) String() string
func (*UntagRequest) Validate ¶
func (this *UntagRequest) Validate() error
func (*UntagRequest) XXX_DiscardUnknown ¶
func (m *UntagRequest) XXX_DiscardUnknown()
func (*UntagRequest) XXX_Marshal ¶
func (m *UntagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UntagRequest) XXX_Merge ¶
func (m *UntagRequest) XXX_Merge(src proto.Message)
func (*UntagRequest) XXX_Size ¶
func (m *UntagRequest) XXX_Size() int
func (*UntagRequest) XXX_Unmarshal ¶
func (m *UntagRequest) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.