Documentation ¶
Index ¶
- Variables
- func NewCooPermissionEndpoints() []*api.Endpoint
- func RegisterCooPermissionHandler(s server.Server, hdlr CooPermissionHandler, opts ...server.HandlerOption) error
- type CooPermissionHandler
- type CooPermissionService
- type EmptyCooPermission
- type IchubResultCooPermission
- func (*IchubResultCooPermission) Descriptor() ([]byte, []int)deprecated
- func (x *IchubResultCooPermission) GetCode() int32
- func (x *IchubResultCooPermission) GetMsg() string
- func (x *IchubResultCooPermission) GetPkey() []byte
- func (*IchubResultCooPermission) ProtoMessage()
- func (x *IchubResultCooPermission) ProtoReflect() protoreflect.Message
- func (x *IchubResultCooPermission) Reset()
- func (x *IchubResultCooPermission) String() string
- type MessageCooPermission
- func (*MessageCooPermission) Descriptor() ([]byte, []int)deprecated
- func (x *MessageCooPermission) GetActionKey() string
- func (x *MessageCooPermission) GetActionName() string
- func (x *MessageCooPermission) GetActive() string
- func (x *MessageCooPermission) GetCreatedAt() int64
- func (x *MessageCooPermission) GetDepth() string
- func (x *MessageCooPermission) GetDescription() string
- func (x *MessageCooPermission) GetId() string
- func (x *MessageCooPermission) GetPermissionNumber() string
- func (x *MessageCooPermission) GetResourceCode() string
- func (x *MessageCooPermission) GetResourceDomain() string
- func (x *MessageCooPermission) GetResourceKey() string
- func (x *MessageCooPermission) GetResourceName() string
- func (x *MessageCooPermission) GetResourceType() string
- func (x *MessageCooPermission) GetState() string
- func (x *MessageCooPermission) GetUpdatedAt() int64
- func (*MessageCooPermission) ProtoMessage()
- func (x *MessageCooPermission) ProtoReflect() protoreflect.Message
- func (x *MessageCooPermission) Reset()
- func (x *MessageCooPermission) String() string
- type PageRequestCooPermission
- func (*PageRequestCooPermission) Descriptor() ([]byte, []int)deprecated
- func (x *PageRequestCooPermission) GetCount() int32
- func (x *PageRequestCooPermission) GetData() string
- func (x *PageRequestCooPermission) GetPageCurrent() int32
- func (x *PageRequestCooPermission) GetPageSize() int32
- func (x *PageRequestCooPermission) GetTotal() int32
- func (*PageRequestCooPermission) ProtoMessage()
- func (x *PageRequestCooPermission) ProtoReflect() protoreflect.Message
- func (x *PageRequestCooPermission) Reset()
- func (x *PageRequestCooPermission) String() string
- type PageResultCooPermission
- func (*PageResultCooPermission) Descriptor() ([]byte, []int)deprecated
- func (x *PageResultCooPermission) GetCode() int32
- func (x *PageResultCooPermission) GetCount() int32
- func (x *PageResultCooPermission) GetData() string
- func (x *PageResultCooPermission) GetMsg() string
- func (x *PageResultCooPermission) GetPageCurrent() int32
- func (x *PageResultCooPermission) GetPageSize() int32
- func (x *PageResultCooPermission) GetTotal() int32
- func (*PageResultCooPermission) ProtoMessage()
- func (x *PageResultCooPermission) ProtoReflect() protoreflect.Message
- func (x *PageResultCooPermission) Reset()
- func (x *PageResultCooPermission) String() string
- type RequestCooPermission
- func (*RequestCooPermission) Descriptor() ([]byte, []int)deprecated
- func (x *RequestCooPermission) GetId() int64
- func (x *RequestCooPermission) GetIds() string
- func (*RequestCooPermission) ProtoMessage()
- func (x *RequestCooPermission) ProtoReflect() protoreflect.Message
- func (x *RequestCooPermission) Reset()
- func (x *RequestCooPermission) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_postgres_db_gorpc_proto_pb_coo_permission_proto_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCooPermissionHandler ¶
func RegisterCooPermissionHandler(s server.Server, hdlr CooPermissionHandler, opts ...server.HandlerOption) error
Types ¶
type CooPermissionHandler ¶
type CooPermissionHandler interface { // 根据 Id 获取 FindById(context.Context, *RequestCooPermission, *IchubResultCooPermission) error // 根据主键删除 DeleteById(context.Context, *RequestCooPermission, *PageResultCooPermission) error // //主键Id为nil or 0新增,!= nil 修改 Save(context.Context, *MessageCooPermission, *IchubResultCooPermission) error // 通用查询 Query(context.Context, *PageRequestCooPermission, *PageResultCooPermission) error FindByIds(context.Context, *RequestCooPermission, *PageResultCooPermission) error }
type CooPermissionService ¶
type CooPermissionService interface { // 根据 Id 获取 FindById(ctx context.Context, in *RequestCooPermission, opts ...client.CallOption) (*IchubResultCooPermission, error) // 根据主键删除 DeleteById(ctx context.Context, in *RequestCooPermission, opts ...client.CallOption) (*PageResultCooPermission, error) // //主键Id为nil or 0新增,!= nil 修改 Save(ctx context.Context, in *MessageCooPermission, opts ...client.CallOption) (*IchubResultCooPermission, error) // 通用查询 Query(ctx context.Context, in *PageRequestCooPermission, opts ...client.CallOption) (*PageResultCooPermission, error) FindByIds(ctx context.Context, in *RequestCooPermission, opts ...client.CallOption) (*PageResultCooPermission, error) }
func NewCooPermissionService ¶
func NewCooPermissionService(name string, c client.Client) CooPermissionService
type EmptyCooPermission ¶
type EmptyCooPermission struct {
// contains filtered or unexported fields
}
func (*EmptyCooPermission) Descriptor
deprecated
func (*EmptyCooPermission) Descriptor() ([]byte, []int)
Deprecated: Use EmptyCooPermission.ProtoReflect.Descriptor instead.
func (*EmptyCooPermission) ProtoMessage ¶
func (*EmptyCooPermission) ProtoMessage()
func (*EmptyCooPermission) ProtoReflect ¶
func (x *EmptyCooPermission) ProtoReflect() protoreflect.Message
func (*EmptyCooPermission) Reset ¶
func (x *EmptyCooPermission) Reset()
func (*EmptyCooPermission) String ¶
func (x *EmptyCooPermission) String() string
type IchubResultCooPermission ¶
type IchubResultCooPermission struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Pkey []byte `protobuf:"bytes,3,opt,name=pkey,proto3" json:"pkey,omitempty"` // contains filtered or unexported fields }
func (*IchubResultCooPermission) Descriptor
deprecated
func (*IchubResultCooPermission) Descriptor() ([]byte, []int)
Deprecated: Use IchubResultCooPermission.ProtoReflect.Descriptor instead.
func (*IchubResultCooPermission) GetCode ¶
func (x *IchubResultCooPermission) GetCode() int32
func (*IchubResultCooPermission) GetMsg ¶
func (x *IchubResultCooPermission) GetMsg() string
func (*IchubResultCooPermission) GetPkey ¶
func (x *IchubResultCooPermission) GetPkey() []byte
func (*IchubResultCooPermission) ProtoMessage ¶
func (*IchubResultCooPermission) ProtoMessage()
func (*IchubResultCooPermission) ProtoReflect ¶
func (x *IchubResultCooPermission) ProtoReflect() protoreflect.Message
func (*IchubResultCooPermission) Reset ¶
func (x *IchubResultCooPermission) Reset()
func (*IchubResultCooPermission) String ¶
func (x *IchubResultCooPermission) String() string
type MessageCooPermission ¶
type MessageCooPermission struct { Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` CreatedAt int64 `protobuf:"varint,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt int64 `protobuf:"varint,7,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` ResourceDomain string `protobuf:"bytes,8,opt,name=resourceDomain,proto3" json:"resourceDomain,omitempty"` ResourceType string `protobuf:"bytes,9,opt,name=resourceType,proto3" json:"resourceType,omitempty"` ResourceName string `protobuf:"bytes,10,opt,name=resourceName,proto3" json:"resourceName,omitempty"` ActionName string `protobuf:"bytes,11,opt,name=actionName,proto3" json:"actionName,omitempty"` PermissionNumber string `protobuf:"bytes,12,opt,name=permissionNumber,proto3" json:"permissionNumber,omitempty"` Depth string `protobuf:"bytes,13,opt,name=depth,proto3" json:"depth,omitempty"` Description string `protobuf:"bytes,14,opt,name=description,proto3" json:"description,omitempty"` Active string `protobuf:"bytes,15,opt,name=active,proto3" json:"active,omitempty"` State string `protobuf:"bytes,16,opt,name=state,proto3" json:"state,omitempty"` ResourceKey string `protobuf:"bytes,17,opt,name=resourceKey,proto3" json:"resourceKey,omitempty"` ActionKey string `protobuf:"bytes,18,opt,name=actionKey,proto3" json:"actionKey,omitempty"` ResourceCode string `protobuf:"bytes,19,opt,name=resourceCode,proto3" json:"resourceCode,omitempty"` // contains filtered or unexported fields }
func (*MessageCooPermission) Descriptor
deprecated
func (*MessageCooPermission) Descriptor() ([]byte, []int)
Deprecated: Use MessageCooPermission.ProtoReflect.Descriptor instead.
func (*MessageCooPermission) GetActionKey ¶
func (x *MessageCooPermission) GetActionKey() string
func (*MessageCooPermission) GetActionName ¶
func (x *MessageCooPermission) GetActionName() string
func (*MessageCooPermission) GetActive ¶
func (x *MessageCooPermission) GetActive() string
func (*MessageCooPermission) GetCreatedAt ¶
func (x *MessageCooPermission) GetCreatedAt() int64
func (*MessageCooPermission) GetDepth ¶
func (x *MessageCooPermission) GetDepth() string
func (*MessageCooPermission) GetDescription ¶
func (x *MessageCooPermission) GetDescription() string
func (*MessageCooPermission) GetId ¶
func (x *MessageCooPermission) GetId() string
func (*MessageCooPermission) GetPermissionNumber ¶
func (x *MessageCooPermission) GetPermissionNumber() string
func (*MessageCooPermission) GetResourceCode ¶
func (x *MessageCooPermission) GetResourceCode() string
func (*MessageCooPermission) GetResourceDomain ¶
func (x *MessageCooPermission) GetResourceDomain() string
func (*MessageCooPermission) GetResourceKey ¶
func (x *MessageCooPermission) GetResourceKey() string
func (*MessageCooPermission) GetResourceName ¶
func (x *MessageCooPermission) GetResourceName() string
func (*MessageCooPermission) GetResourceType ¶
func (x *MessageCooPermission) GetResourceType() string
func (*MessageCooPermission) GetState ¶
func (x *MessageCooPermission) GetState() string
func (*MessageCooPermission) GetUpdatedAt ¶
func (x *MessageCooPermission) GetUpdatedAt() int64
func (*MessageCooPermission) ProtoMessage ¶
func (*MessageCooPermission) ProtoMessage()
func (*MessageCooPermission) ProtoReflect ¶
func (x *MessageCooPermission) ProtoReflect() protoreflect.Message
func (*MessageCooPermission) Reset ¶
func (x *MessageCooPermission) Reset()
func (*MessageCooPermission) String ¶
func (x *MessageCooPermission) String() string
type PageRequestCooPermission ¶
type PageRequestCooPermission struct { PageCurrent int32 `protobuf:"varint,1,opt,name=pageCurrent,proto3" json:"pageCurrent,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` Data string `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*PageRequestCooPermission) Descriptor
deprecated
func (*PageRequestCooPermission) Descriptor() ([]byte, []int)
Deprecated: Use PageRequestCooPermission.ProtoReflect.Descriptor instead.
func (*PageRequestCooPermission) GetCount ¶
func (x *PageRequestCooPermission) GetCount() int32
func (*PageRequestCooPermission) GetData ¶
func (x *PageRequestCooPermission) GetData() string
func (*PageRequestCooPermission) GetPageCurrent ¶
func (x *PageRequestCooPermission) GetPageCurrent() int32
func (*PageRequestCooPermission) GetPageSize ¶
func (x *PageRequestCooPermission) GetPageSize() int32
func (*PageRequestCooPermission) GetTotal ¶
func (x *PageRequestCooPermission) GetTotal() int32
func (*PageRequestCooPermission) ProtoMessage ¶
func (*PageRequestCooPermission) ProtoMessage()
func (*PageRequestCooPermission) ProtoReflect ¶
func (x *PageRequestCooPermission) ProtoReflect() protoreflect.Message
func (*PageRequestCooPermission) Reset ¶
func (x *PageRequestCooPermission) Reset()
func (*PageRequestCooPermission) String ¶
func (x *PageRequestCooPermission) String() string
type PageResultCooPermission ¶
type PageResultCooPermission struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` PageCurrent int32 `protobuf:"varint,3,opt,name=pageCurrent,proto3" json:"pageCurrent,omitempty"` PageSize int32 `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"` Total int32 `protobuf:"varint,5,opt,name=total,proto3" json:"total,omitempty"` Count int32 `protobuf:"varint,6,opt,name=count,proto3" json:"count,omitempty"` Data string `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*PageResultCooPermission) Descriptor
deprecated
func (*PageResultCooPermission) Descriptor() ([]byte, []int)
Deprecated: Use PageResultCooPermission.ProtoReflect.Descriptor instead.
func (*PageResultCooPermission) GetCode ¶
func (x *PageResultCooPermission) GetCode() int32
func (*PageResultCooPermission) GetCount ¶
func (x *PageResultCooPermission) GetCount() int32
func (*PageResultCooPermission) GetData ¶
func (x *PageResultCooPermission) GetData() string
func (*PageResultCooPermission) GetMsg ¶
func (x *PageResultCooPermission) GetMsg() string
func (*PageResultCooPermission) GetPageCurrent ¶
func (x *PageResultCooPermission) GetPageCurrent() int32
func (*PageResultCooPermission) GetPageSize ¶
func (x *PageResultCooPermission) GetPageSize() int32
func (*PageResultCooPermission) GetTotal ¶
func (x *PageResultCooPermission) GetTotal() int32
func (*PageResultCooPermission) ProtoMessage ¶
func (*PageResultCooPermission) ProtoMessage()
func (*PageResultCooPermission) ProtoReflect ¶
func (x *PageResultCooPermission) ProtoReflect() protoreflect.Message
func (*PageResultCooPermission) Reset ¶
func (x *PageResultCooPermission) Reset()
func (*PageResultCooPermission) String ¶
func (x *PageResultCooPermission) String() string
type RequestCooPermission ¶
type RequestCooPermission struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` Ids string `protobuf:"bytes,2,opt,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*RequestCooPermission) Descriptor
deprecated
func (*RequestCooPermission) Descriptor() ([]byte, []int)
Deprecated: Use RequestCooPermission.ProtoReflect.Descriptor instead.
func (*RequestCooPermission) GetId ¶
func (x *RequestCooPermission) GetId() int64
func (*RequestCooPermission) GetIds ¶
func (x *RequestCooPermission) GetIds() string
func (*RequestCooPermission) ProtoMessage ¶
func (*RequestCooPermission) ProtoMessage()
func (*RequestCooPermission) ProtoReflect ¶
func (x *RequestCooPermission) ProtoReflect() protoreflect.Message
func (*RequestCooPermission) Reset ¶
func (x *RequestCooPermission) Reset()
func (*RequestCooPermission) String ¶
func (x *RequestCooPermission) String() string
Click to show internal directories.
Click to hide internal directories.