Documentation ¶
Index ¶
- Variables
- func HttpEntry() *http.EntrySet
- func RegisterMicroConfigServiceServer(s grpc.ServiceRegistrar, srv MicroConfigServiceServer)
- type AddItemToGroupRequest
- func (*AddItemToGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddItemToGroupRequest) GetGroupName() string
- func (x *AddItemToGroupRequest) GetItems() []*ItemRequest
- func (*AddItemToGroupRequest) ProtoMessage()
- func (x *AddItemToGroupRequest) ProtoReflect() protoreflect.Message
- func (x *AddItemToGroupRequest) Reset()
- func (x *AddItemToGroupRequest) String() string
- type CreateGroupRequest
- func (*CreateGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGroupRequest) GetDescription() string
- func (x *CreateGroupRequest) GetName() string
- func (x *CreateGroupRequest) GetType() Type
- func (*CreateGroupRequest) ProtoMessage()
- func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGroupRequest) Reset()
- func (x *CreateGroupRequest) String() string
- func (req *CreateGroupRequest) Validate() error
- type DeleteGroupRequest
- func (*DeleteGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGroupRequest) GetName() string
- func (*DeleteGroupRequest) ProtoMessage()
- func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteGroupRequest) Reset()
- func (x *DeleteGroupRequest) String() string
- func (req *DeleteGroupRequest) Validate() error
- type DescribeGroupRequest
- func (*DescribeGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeGroupRequest) GetName() string
- func (*DescribeGroupRequest) ProtoMessage()
- func (x *DescribeGroupRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeGroupRequest) Reset()
- func (x *DescribeGroupRequest) String() string
- func (req *DescribeGroupRequest) Validate() error
- type Group
- func (*Group) Descriptor() ([]byte, []int)deprecated
- func (x *Group) GetCreateAt() int64
- func (x *Group) GetCreater() string
- func (x *Group) GetDescription() string
- func (x *Group) GetName() string
- func (x *Group) GetType() Type
- func (*Group) ProtoMessage()
- func (x *Group) ProtoReflect() protoreflect.Message
- func (x *Group) Reset()
- func (x *Group) String() string
- type GroupSet
- func (s *GroupSet) Add(e *Group)
- func (*GroupSet) Descriptor() ([]byte, []int)deprecated
- func (x *GroupSet) GetItems() []*Group
- func (x *GroupSet) GetTotal() int64
- func (*GroupSet) ProtoMessage()
- func (x *GroupSet) ProtoReflect() protoreflect.Message
- func (x *GroupSet) Reset()
- func (x *GroupSet) String() string
- type Item
- func (*Item) Descriptor() ([]byte, []int)deprecated
- func (x *Item) GetCreateAt() int64
- func (x *Item) GetCreater() string
- func (x *Item) GetDescription() string
- func (x *Item) GetGroup() string
- func (x *Item) GetId() string
- func (x *Item) GetKey() string
- func (x *Item) GetUpdateAt() int64
- func (x *Item) GetUpdater() int64
- func (x *Item) GetValue() string
- func (*Item) ProtoMessage()
- func (x *Item) ProtoReflect() protoreflect.Message
- func (x *Item) Reset()
- func (x *Item) String() string
- type ItemRequest
- func (*ItemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ItemRequest) GetDescription() string
- func (x *ItemRequest) GetGroup() string
- func (x *ItemRequest) GetKey() string
- func (x *ItemRequest) GetValue() string
- func (*ItemRequest) ProtoMessage()
- func (x *ItemRequest) ProtoReflect() protoreflect.Message
- func (x *ItemRequest) Reset()
- func (x *ItemRequest) String() string
- type ItemSet
- func (s *ItemSet) Add(e *Item)
- func (*ItemSet) Descriptor() ([]byte, []int)deprecated
- func (s *ItemSet) Docs() []interface{}
- func (x *ItemSet) GetItems() []*Item
- func (x *ItemSet) GetTotal() int64
- func (*ItemSet) ProtoMessage()
- func (x *ItemSet) ProtoReflect() protoreflect.Message
- func (x *ItemSet) Reset()
- func (x *ItemSet) String() string
- type MicroConfigServiceClient
- type MicroConfigServiceServer
- type QueryGroupRequest
- func (*QueryGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGroupRequest) GetPage() *page.PageRequest
- func (x *QueryGroupRequest) GetType() Type
- func (*QueryGroupRequest) ProtoMessage()
- func (x *QueryGroupRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGroupRequest) Reset()
- func (x *QueryGroupRequest) String() string
- type QueryItemRequest
- func (*QueryItemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryItemRequest) GetGroupName() string
- func (x *QueryItemRequest) GetPage() *page.PageRequest
- func (*QueryItemRequest) ProtoMessage()
- func (x *QueryItemRequest) ProtoReflect() protoreflect.Message
- func (x *QueryItemRequest) Reset()
- func (x *QueryItemRequest) String() string
- type RemoveItemFromGroupRequest
- func (*RemoveItemFromGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveItemFromGroupRequest) GetGroupName() string
- func (x *RemoveItemFromGroupRequest) GetItems() []string
- func (x *RemoveItemFromGroupRequest) GetRemoveAll() bool
- func (*RemoveItemFromGroupRequest) ProtoMessage()
- func (x *RemoveItemFromGroupRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveItemFromGroupRequest) Reset()
- func (x *RemoveItemFromGroupRequest) String() string
- type Type
- func (Type) Descriptor() protoreflect.EnumDescriptor
- func (x Type) Enum() *Type
- func (Type) EnumDescriptor() ([]byte, []int)deprecated
- func (t Type) Equal(target Type) bool
- func (t Type) IsIn(targets ...Type) bool
- func (t Type) MarshalJSON() ([]byte, error)
- func (x Type) Number() protoreflect.EnumNumber
- func (x Type) String() string
- func (Type) Type() protoreflect.EnumType
- func (t *Type) UnmarshalJSON(b []byte) error
- type UnimplementedMicroConfigServiceServer
- func (UnimplementedMicroConfigServiceServer) AddItemToGroup(context.Context, *AddItemToGroupRequest) (*ItemSet, error)
- func (UnimplementedMicroConfigServiceServer) CreateGroup(context.Context, *CreateGroupRequest) (*Group, error)
- func (UnimplementedMicroConfigServiceServer) DeleteGroup(context.Context, *DeleteGroupRequest) (*Group, error)
- func (UnimplementedMicroConfigServiceServer) QueryGroup(context.Context, *QueryGroupRequest) (*GroupSet, error)
- func (UnimplementedMicroConfigServiceServer) QueryItem(context.Context, *QueryItemRequest) (*ItemSet, error)
- func (UnimplementedMicroConfigServiceServer) RemoveItemFromGroup(context.Context, *RemoveItemFromGroupRequest) (*ItemSet, error)
- type UnsafeMicroConfigServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( Type_name = map[int32]string{ 0: "GLOBAL", 1: "PRIVATE", } Type_value = map[string]int32{ "GLOBAL": 0, "PRIVATE": 1, } )
Enum value maps for Type.
var File_pkg_mconf_pb_conf_proto protoreflect.FileDescriptor
var File_pkg_mconf_pb_enum_proto protoreflect.FileDescriptor
var File_pkg_mconf_pb_request_proto protoreflect.FileDescriptor
var File_pkg_mconf_pb_service_proto protoreflect.FileDescriptor
var MicroConfigService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "keyauth.mconf.MicroConfigService", HandlerType: (*MicroConfigServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateGroup", Handler: _MicroConfigService_CreateGroup_Handler, }, { MethodName: "QueryGroup", Handler: _MicroConfigService_QueryGroup_Handler, }, { MethodName: "DeleteGroup", Handler: _MicroConfigService_DeleteGroup_Handler, }, { MethodName: "QueryItem", Handler: _MicroConfigService_QueryItem_Handler, }, { MethodName: "AddItemToGroup", Handler: _MicroConfigService_AddItemToGroup_Handler, }, { MethodName: "RemoveItemFromGroup", Handler: _MicroConfigService_RemoveItemFromGroup_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/mconf/pb/service.proto", }
MicroConfigService_ServiceDesc is the grpc.ServiceDesc for MicroConfigService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMicroConfigServiceServer ¶
func RegisterMicroConfigServiceServer(s grpc.ServiceRegistrar, srv MicroConfigServiceServer)
Types ¶
type AddItemToGroupRequest ¶
type AddItemToGroupRequest struct { GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name"` Items []*ItemRequest `protobuf:"bytes,2,rep,name=items,proto3" json:"items" bson:"items"` // contains filtered or unexported fields }
AddItemToGroupRequest todo
func NewAddItemToGroupRequest ¶
func NewAddItemToGroupRequest() *AddItemToGroupRequest
NewAddItemToGroupRequest todo
func (*AddItemToGroupRequest) Descriptor
deprecated
func (*AddItemToGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddItemToGroupRequest.ProtoReflect.Descriptor instead.
func (*AddItemToGroupRequest) GetGroupName ¶
func (x *AddItemToGroupRequest) GetGroupName() string
func (*AddItemToGroupRequest) GetItems ¶
func (x *AddItemToGroupRequest) GetItems() []*ItemRequest
func (*AddItemToGroupRequest) ProtoMessage ¶
func (*AddItemToGroupRequest) ProtoMessage()
func (*AddItemToGroupRequest) ProtoReflect ¶
func (x *AddItemToGroupRequest) ProtoReflect() protoreflect.Message
func (*AddItemToGroupRequest) Reset ¶
func (x *AddItemToGroupRequest) Reset()
func (*AddItemToGroupRequest) String ¶
func (x *AddItemToGroupRequest) String() string
type CreateGroupRequest ¶
type CreateGroupRequest struct { // 组类型 Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=keyauth.mconf.Type" json:"type"` // 名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" validate:"required,lte=200"` // 描述信息 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
CreateGroupRequest 服务组请求
func NewCreateGroupRequest ¶
func NewCreateGroupRequest() *CreateGroupRequest
NewCreateGroupRequest todo
func (*CreateGroupRequest) Descriptor
deprecated
func (*CreateGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGroupRequest.ProtoReflect.Descriptor instead.
func (*CreateGroupRequest) GetDescription ¶
func (x *CreateGroupRequest) GetDescription() string
func (*CreateGroupRequest) GetName ¶
func (x *CreateGroupRequest) GetName() string
func (*CreateGroupRequest) GetType ¶
func (x *CreateGroupRequest) GetType() Type
func (*CreateGroupRequest) ProtoMessage ¶
func (*CreateGroupRequest) ProtoMessage()
func (*CreateGroupRequest) ProtoReflect ¶
func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message
func (*CreateGroupRequest) Reset ¶
func (x *CreateGroupRequest) Reset()
func (*CreateGroupRequest) String ¶
func (x *CreateGroupRequest) String() string
func (*CreateGroupRequest) Validate ¶
func (req *CreateGroupRequest) Validate() error
type DeleteGroupRequest ¶
type DeleteGroupRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"` // contains filtered or unexported fields }
DeleteGroupRequest todo
func NewDeleteGroupRequestWithName ¶
func NewDeleteGroupRequestWithName(name string) *DeleteGroupRequest
func (*DeleteGroupRequest) Descriptor
deprecated
func (*DeleteGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGroupRequest.ProtoReflect.Descriptor instead.
func (*DeleteGroupRequest) GetName ¶
func (x *DeleteGroupRequest) GetName() string
func (*DeleteGroupRequest) ProtoMessage ¶
func (*DeleteGroupRequest) ProtoMessage()
func (*DeleteGroupRequest) ProtoReflect ¶
func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message
func (*DeleteGroupRequest) Reset ¶
func (x *DeleteGroupRequest) Reset()
func (*DeleteGroupRequest) String ¶
func (x *DeleteGroupRequest) String() string
func (*DeleteGroupRequest) Validate ¶
func (req *DeleteGroupRequest) Validate() error
type DescribeGroupRequest ¶
type DescribeGroupRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"` // contains filtered or unexported fields }
DescribeGroupRequest todo
func NewDescribeGroupRequestWithName ¶
func NewDescribeGroupRequestWithName(name string) *DescribeGroupRequest
func (*DescribeGroupRequest) Descriptor
deprecated
func (*DescribeGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeGroupRequest.ProtoReflect.Descriptor instead.
func (*DescribeGroupRequest) GetName ¶
func (x *DescribeGroupRequest) GetName() string
func (*DescribeGroupRequest) ProtoMessage ¶
func (*DescribeGroupRequest) ProtoMessage()
func (*DescribeGroupRequest) ProtoReflect ¶
func (x *DescribeGroupRequest) ProtoReflect() protoreflect.Message
func (*DescribeGroupRequest) Reset ¶
func (x *DescribeGroupRequest) Reset()
func (*DescribeGroupRequest) String ¶
func (x *DescribeGroupRequest) String() string
func (*DescribeGroupRequest) Validate ¶
func (req *DescribeGroupRequest) Validate() error
type Group ¶
type Group struct { // 组名称 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" bson:"_id"` // 组类型 Type Type `protobuf:"varint,2,opt,name=type,proto3,enum=keyauth.mconf.Type" json:"type" bson:"type"` // 创建人 Creater string `protobuf:"bytes,3,opt,name=creater,proto3" json:"creater" bson:"creater"` // 创建的时间 CreateAt int64 `protobuf:"varint,4,opt,name=create_at,json=createAt,proto3" json:"create_at" bson:"create_at"` // 描述信息 Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description" bson:"description"` // contains filtered or unexported fields }
Micro is service provider
func (*Group) Descriptor
deprecated
func (*Group) GetCreateAt ¶
func (*Group) GetCreater ¶
func (*Group) GetDescription ¶
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
type GroupSet ¶
type GroupSet struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total" bson:"total"` Items []*Group `protobuf:"bytes,2,rep,name=items,proto3" json:"items" bson:"items"` // contains filtered or unexported fields }
func (*GroupSet) Descriptor
deprecated
func (*GroupSet) ProtoMessage ¶
func (*GroupSet) ProtoMessage()
func (*GroupSet) ProtoReflect ¶
func (x *GroupSet) ProtoReflect() protoreflect.Message
type Item ¶
type Item struct { // 项ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` // 建的名称 Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key" bson:"key"` // 关联的组 Group string `protobuf:"bytes,3,opt,name=group,proto3" json:"group" bson:"group"` // 创建人 Creater string `protobuf:"bytes,4,opt,name=creater,proto3" json:"creater" bson:"creater"` // 创建的时间 CreateAt int64 `protobuf:"varint,5,opt,name=create_at,json=createAt,proto3" json:"create_at" bson:"create_at"` // 创建的时间 Updater int64 `protobuf:"varint,6,opt,name=updater,proto3" json:"updater,omitempty" bson:"updater"` // 更新时间 UpdateAt int64 `protobuf:"varint,7,opt,name=update_at,json=updateAt,proto3" json:"update_at,omitempty" bson:"update_at"` // 值对应的值 Value string `protobuf:"bytes,8,opt,name=value,proto3" json:"value" bson:"value"` // 描述信息 Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty" bson:"description"` // contains filtered or unexported fields }
Item 健值项
func NewItem ¶
func NewItem(creater string, req *ItemRequest) *Item
func (*Item) Descriptor
deprecated
func (*Item) GetCreateAt ¶
func (*Item) GetCreater ¶
func (*Item) GetDescription ¶
func (*Item) GetUpdateAt ¶
func (*Item) GetUpdater ¶
func (*Item) ProtoMessage ¶
func (*Item) ProtoMessage()
func (*Item) ProtoReflect ¶
func (x *Item) ProtoReflect() protoreflect.Message
type ItemRequest ¶
type ItemRequest struct { // 建的名称 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key" bson:"_id"` // 关联的组 Group string `protobuf:"bytes,2,opt,name=group,proto3" json:"group" bson:"group"` // 值对应的值 Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value" bson:"value"` // 描述信息 Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" bson:"description"` // contains filtered or unexported fields }
ItemRequest 健值项
func (*ItemRequest) Descriptor
deprecated
func (*ItemRequest) Descriptor() ([]byte, []int)
Deprecated: Use ItemRequest.ProtoReflect.Descriptor instead.
func (*ItemRequest) GetDescription ¶
func (x *ItemRequest) GetDescription() string
func (*ItemRequest) GetGroup ¶
func (x *ItemRequest) GetGroup() string
func (*ItemRequest) GetKey ¶
func (x *ItemRequest) GetKey() string
func (*ItemRequest) GetValue ¶
func (x *ItemRequest) GetValue() string
func (*ItemRequest) ProtoMessage ¶
func (*ItemRequest) ProtoMessage()
func (*ItemRequest) ProtoReflect ¶
func (x *ItemRequest) ProtoReflect() protoreflect.Message
func (*ItemRequest) Reset ¶
func (x *ItemRequest) Reset()
func (*ItemRequest) String ¶
func (x *ItemRequest) String() string
type ItemSet ¶
type ItemSet struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total" bson:"total"` Items []*Item `protobuf:"bytes,2,rep,name=items,proto3" json:"items" bson:"items"` // contains filtered or unexported fields }
func NewGroupItemSet ¶
func NewGroupItemSet(creater string, req *AddItemToGroupRequest) *ItemSet
func (*ItemSet) Descriptor
deprecated
func (*ItemSet) ProtoMessage ¶
func (*ItemSet) ProtoMessage()
func (*ItemSet) ProtoReflect ¶
func (x *ItemSet) ProtoReflect() protoreflect.Message
type MicroConfigServiceClient ¶
type MicroConfigServiceClient interface { CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*Group, error) QueryGroup(ctx context.Context, in *QueryGroupRequest, opts ...grpc.CallOption) (*GroupSet, error) DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*Group, error) QueryItem(ctx context.Context, in *QueryItemRequest, opts ...grpc.CallOption) (*ItemSet, error) AddItemToGroup(ctx context.Context, in *AddItemToGroupRequest, opts ...grpc.CallOption) (*ItemSet, error) RemoveItemFromGroup(ctx context.Context, in *RemoveItemFromGroupRequest, opts ...grpc.CallOption) (*ItemSet, error) }
MicroConfigServiceClient is the client API for MicroConfigService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMicroConfigServiceClient ¶
func NewMicroConfigServiceClient(cc grpc.ClientConnInterface) MicroConfigServiceClient
type MicroConfigServiceServer ¶
type MicroConfigServiceServer interface { CreateGroup(context.Context, *CreateGroupRequest) (*Group, error) QueryGroup(context.Context, *QueryGroupRequest) (*GroupSet, error) DeleteGroup(context.Context, *DeleteGroupRequest) (*Group, error) QueryItem(context.Context, *QueryItemRequest) (*ItemSet, error) AddItemToGroup(context.Context, *AddItemToGroupRequest) (*ItemSet, error) RemoveItemFromGroup(context.Context, *RemoveItemFromGroupRequest) (*ItemSet, error) // contains filtered or unexported methods }
MicroConfigServiceServer is the server API for MicroConfigService service. All implementations must embed UnimplementedMicroConfigServiceServer for forward compatibility
type QueryGroupRequest ¶
type QueryGroupRequest struct { Page *page.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page"` // 组类型 Type Type `protobuf:"varint,2,opt,name=type,proto3,enum=keyauth.mconf.Type" json:"type"` // contains filtered or unexported fields }
QueryGroupRequest 查询组列表
func NewQueryGroupRequest ¶
func NewQueryGroupRequest(pageReq *request.PageRequest) *QueryGroupRequest
NewQueryGroupRequest 列表查询请求
func (*QueryGroupRequest) Descriptor
deprecated
func (*QueryGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGroupRequest.ProtoReflect.Descriptor instead.
func (*QueryGroupRequest) GetPage ¶
func (x *QueryGroupRequest) GetPage() *page.PageRequest
func (*QueryGroupRequest) GetType ¶
func (x *QueryGroupRequest) GetType() Type
func (*QueryGroupRequest) ProtoMessage ¶
func (*QueryGroupRequest) ProtoMessage()
func (*QueryGroupRequest) ProtoReflect ¶
func (x *QueryGroupRequest) ProtoReflect() protoreflect.Message
func (*QueryGroupRequest) Reset ¶
func (x *QueryGroupRequest) Reset()
func (*QueryGroupRequest) String ¶
func (x *QueryGroupRequest) String() string
type QueryItemRequest ¶
type QueryItemRequest struct { Page *page.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page"` // 组名称 GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name" validate:"required,lte=200"` // contains filtered or unexported fields }
QueryItemRequest 查询值列表
func NewQueryItemRequest ¶
func NewQueryItemRequest(pageReq *request.PageRequest) *QueryItemRequest
NewQueryItemRequest 列表查询请求
func (*QueryItemRequest) Descriptor
deprecated
func (*QueryItemRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryItemRequest.ProtoReflect.Descriptor instead.
func (*QueryItemRequest) GetGroupName ¶
func (x *QueryItemRequest) GetGroupName() string
func (*QueryItemRequest) GetPage ¶
func (x *QueryItemRequest) GetPage() *page.PageRequest
func (*QueryItemRequest) ProtoMessage ¶
func (*QueryItemRequest) ProtoMessage()
func (*QueryItemRequest) ProtoReflect ¶
func (x *QueryItemRequest) ProtoReflect() protoreflect.Message
func (*QueryItemRequest) Reset ¶
func (x *QueryItemRequest) Reset()
func (*QueryItemRequest) String ¶
func (x *QueryItemRequest) String() string
type RemoveItemFromGroupRequest ¶
type RemoveItemFromGroupRequest struct { GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name"` RemoveAll bool `protobuf:"varint,2,opt,name=remove_all,json=removeAll,proto3" json:"remove_all"` Items []string `protobuf:"bytes,3,rep,name=items,proto3" json:"items" bson:"items"` // contains filtered or unexported fields }
RemoveItemFromGroupRequest todo
func (*RemoveItemFromGroupRequest) Descriptor
deprecated
func (*RemoveItemFromGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveItemFromGroupRequest.ProtoReflect.Descriptor instead.
func (*RemoveItemFromGroupRequest) GetGroupName ¶
func (x *RemoveItemFromGroupRequest) GetGroupName() string
func (*RemoveItemFromGroupRequest) GetItems ¶
func (x *RemoveItemFromGroupRequest) GetItems() []string
func (*RemoveItemFromGroupRequest) GetRemoveAll ¶
func (x *RemoveItemFromGroupRequest) GetRemoveAll() bool
func (*RemoveItemFromGroupRequest) ProtoMessage ¶
func (*RemoveItemFromGroupRequest) ProtoMessage()
func (*RemoveItemFromGroupRequest) ProtoReflect ¶
func (x *RemoveItemFromGroupRequest) ProtoReflect() protoreflect.Message
func (*RemoveItemFromGroupRequest) Reset ¶
func (x *RemoveItemFromGroupRequest) Reset()
func (*RemoveItemFromGroupRequest) String ¶
func (x *RemoveItemFromGroupRequest) String() string
type Type ¶
type Type int32
func ParseTypeFromString ¶
ParseTypeFromString Parse Type from string
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
type UnimplementedMicroConfigServiceServer ¶
type UnimplementedMicroConfigServiceServer struct { }
UnimplementedMicroConfigServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMicroConfigServiceServer) AddItemToGroup ¶
func (UnimplementedMicroConfigServiceServer) AddItemToGroup(context.Context, *AddItemToGroupRequest) (*ItemSet, error)
func (UnimplementedMicroConfigServiceServer) CreateGroup ¶
func (UnimplementedMicroConfigServiceServer) CreateGroup(context.Context, *CreateGroupRequest) (*Group, error)
func (UnimplementedMicroConfigServiceServer) DeleteGroup ¶
func (UnimplementedMicroConfigServiceServer) DeleteGroup(context.Context, *DeleteGroupRequest) (*Group, error)
func (UnimplementedMicroConfigServiceServer) QueryGroup ¶
func (UnimplementedMicroConfigServiceServer) QueryGroup(context.Context, *QueryGroupRequest) (*GroupSet, error)
func (UnimplementedMicroConfigServiceServer) QueryItem ¶
func (UnimplementedMicroConfigServiceServer) QueryItem(context.Context, *QueryItemRequest) (*ItemSet, error)
func (UnimplementedMicroConfigServiceServer) RemoveItemFromGroup ¶
func (UnimplementedMicroConfigServiceServer) RemoveItemFromGroup(context.Context, *RemoveItemFromGroupRequest) (*ItemSet, error)
type UnsafeMicroConfigServiceServer ¶
type UnsafeMicroConfigServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMicroConfigServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MicroConfigServiceServer will result in compilation errors.