Documentation ¶
Index ¶
- Variables
- func RegisterMetadataServer(s grpc_go.ServiceRegistrar, srv MetadataServer)
- func RegisterPageServer(s grpc_go.ServiceRegistrar, srv PageServer)
- type Code
- type CommonResponse
- func (*CommonResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommonResponse) GetCode() Code
- func (x *CommonResponse) GetMessage() string
- func (*CommonResponse) ProtoMessage()
- func (x *CommonResponse) ProtoReflect() protoreflect.Message
- func (x *CommonResponse) Reset()
- func (x *CommonResponse) String() string
- type DelRequest
- type EnableRequest
- func (*EnableRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnableRequest) GetEnable() bool
- func (x *EnableRequest) GetId() string
- func (x *EnableRequest) GetTenantID() string
- func (*EnableRequest) ProtoMessage()
- func (x *EnableRequest) ProtoReflect() protoreflect.Message
- func (x *EnableRequest) Reset()
- func (x *EnableRequest) String() string
- type GetAllMetadataResponse
- func (*GetAllMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllMetadataResponse) GetCode() Code
- func (x *GetAllMetadataResponse) GetData() []*MetadataInfo
- func (x *GetAllMetadataResponse) GetMessage() string
- func (*GetAllMetadataResponse) ProtoMessage()
- func (x *GetAllMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllMetadataResponse) Reset()
- func (x *GetAllMetadataResponse) String() string
- type GetAllPageResponse
- func (*GetAllPageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllPageResponse) GetCode() Code
- func (x *GetAllPageResponse) GetData() []*PageInfo
- func (x *GetAllPageResponse) GetMessage() string
- func (*GetAllPageResponse) ProtoMessage()
- func (x *GetAllPageResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllPageResponse) Reset()
- func (x *GetAllPageResponse) String() string
- type GetAllRequest
- type GetDetailRequest
- func (*GetDetailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDetailRequest) GetId() string
- func (x *GetDetailRequest) GetTenantID() string
- func (*GetDetailRequest) ProtoMessage()
- func (x *GetDetailRequest) ProtoReflect() protoreflect.Message
- func (x *GetDetailRequest) Reset()
- func (x *GetDetailRequest) String() string
- type GetMetadataDetailResponse
- func (*GetMetadataDetailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetadataDetailResponse) GetCode() Code
- func (x *GetMetadataDetailResponse) GetData() *MetadataInfo
- func (x *GetMetadataDetailResponse) GetMessage() string
- func (*GetMetadataDetailResponse) ProtoMessage()
- func (x *GetMetadataDetailResponse) ProtoReflect() protoreflect.Message
- func (x *GetMetadataDetailResponse) Reset()
- func (x *GetMetadataDetailResponse) String() string
- type GetPageDetailResponse
- func (*GetPageDetailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPageDetailResponse) GetCode() Code
- func (x *GetPageDetailResponse) GetData() *PageInfo
- func (x *GetPageDetailResponse) GetMessage() string
- func (*GetPageDetailResponse) ProtoMessage()
- func (x *GetPageDetailResponse) ProtoReflect() protoreflect.Message
- func (x *GetPageDetailResponse) Reset()
- func (x *GetPageDetailResponse) String() string
- type MetadataClient
- type MetadataClientImpl
- type MetadataField
- func (*MetadataField) Descriptor() ([]byte, []int)deprecated
- func (x *MetadataField) GetComment() string
- func (x *MetadataField) GetComponent() string
- func (x *MetadataField) GetCopier() bool
- func (x *MetadataField) GetDefaultValue() string
- func (x *MetadataField) GetDisplayName() string
- func (x *MetadataField) GetId() string
- func (x *MetadataField) GetIndex() bool
- func (x *MetadataField) GetIsArray() bool
- func (x *MetadataField) GetLength() int32
- func (x *MetadataField) GetLike() bool
- func (x *MetadataField) GetMetadataID() string
- func (x *MetadataField) GetName() string
- func (x *MetadataField) GetNotNull() bool
- func (x *MetadataField) GetOrder() int32
- func (x *MetadataField) GetRefMetadata() string
- func (x *MetadataField) GetShowInEdit() bool
- func (x *MetadataField) GetShowInQuery() bool
- func (x *MetadataField) GetShowInTable() bool
- func (x *MetadataField) GetType() string
- func (x *MetadataField) GetUnique() bool
- func (*MetadataField) ProtoMessage()
- func (x *MetadataField) ProtoReflect() protoreflect.Message
- func (x *MetadataField) Reset()
- func (x *MetadataField) String() string
- type MetadataInfo
- func (*MetadataInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetadataInfo) GetChildren() []*MetadataInfo
- func (x *MetadataInfo) GetDescription() string
- func (x *MetadataInfo) GetDisplayName() string
- func (x *MetadataInfo) GetId() string
- func (x *MetadataInfo) GetLevel() int32
- func (x *MetadataInfo) GetMetadataFields() []*MetadataField
- func (x *MetadataInfo) GetName() string
- func (x *MetadataInfo) GetPackage() string
- func (x *MetadataInfo) GetParentID() string
- func (x *MetadataInfo) GetSystem() string
- func (*MetadataInfo) ProtoMessage()
- func (x *MetadataInfo) ProtoReflect() protoreflect.Message
- func (x *MetadataInfo) Reset()
- func (x *MetadataInfo) String() string
- type MetadataServer
- type PageButton
- func (*PageButton) Descriptor() ([]byte, []int)deprecated
- func (x *PageButton) GetEnable() bool
- func (x *PageButton) GetExpanded() bool
- func (x *PageButton) GetHref() string
- func (x *PageButton) GetHrefFunc() string
- func (x *PageButton) GetId() string
- func (x *PageButton) GetIndex() int32
- func (x *PageButton) GetKey() string
- func (x *PageButton) GetLabel() string
- func (x *PageButton) GetPageID() string
- func (x *PageButton) GetScript() string
- func (x *PageButton) GetShowType() string
- func (*PageButton) ProtoMessage()
- func (x *PageButton) ProtoReflect() protoreflect.Message
- func (x *PageButton) Reset()
- func (x *PageButton) String() string
- type PageClient
- type PageClientImpl
- type PageField
- func (*PageField) Descriptor() ([]byte, []int)deprecated
- func (x *PageField) GetComponent() string
- func (x *PageField) GetComponentProps() string
- func (x *PageField) GetCopyable() bool
- func (x *PageField) GetDataType() string
- func (x *PageField) GetEllipsis() bool
- func (x *PageField) GetId() string
- func (x *PageField) GetLabelField() string
- func (x *PageField) GetName() string
- func (x *PageField) GetPageID() string
- func (x *PageField) GetRowKey() bool
- func (x *PageField) GetShowInTable() bool
- func (x *PageField) GetSort() int32
- func (x *PageField) GetTitle() string
- func (x *PageField) GetValueEnum() string
- func (x *PageField) GetValueField() string
- func (*PageField) ProtoMessage()
- func (x *PageField) ProtoReflect() protoreflect.Message
- func (x *PageField) Reset()
- func (x *PageField) String() string
- type PageInfo
- func (*PageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PageInfo) GetAddFormID() string
- func (x *PageInfo) GetButtons() []*PageButton
- func (x *PageInfo) GetCardAvatarField() string
- func (x *PageInfo) GetCardContentField() string
- func (x *PageInfo) GetCardDescriptionField() string
- func (x *PageInfo) GetCardImageField() string
- func (x *PageInfo) GetCardLoadType() int32
- func (x *PageInfo) GetCardTitleField() string
- func (x *PageInfo) GetCreatedAt() int64
- func (x *PageInfo) GetDescription() string
- func (x *PageInfo) GetEditFormID() string
- func (x *PageInfo) GetEditable() string
- func (x *PageInfo) GetEnable() bool
- func (x *PageInfo) GetFields() []*PageField
- func (x *PageInfo) GetId() string
- func (x *PageInfo) GetListAvatarField() string
- func (x *PageInfo) GetListContentField() string
- func (x *PageInfo) GetListDescriptionField() string
- func (x *PageInfo) GetListLoadType() int32
- func (x *PageInfo) GetListTitleField() string
- func (x *PageInfo) GetLoadDetailAfter() string
- func (x *PageInfo) GetLoadDetailBefore() string
- func (x *PageInfo) GetMetadataID() string
- func (x *PageInfo) GetName() string
- func (x *PageInfo) GetPageSize() uint32
- func (x *PageInfo) GetPath() string
- func (x *PageInfo) GetQueryAfter() string
- func (x *PageInfo) GetQueryBefore() string
- func (x *PageInfo) GetSearchDefaultValue() string
- func (x *PageInfo) GetSearchFormID() string
- func (x *PageInfo) GetShowIndex() bool
- func (x *PageInfo) GetShowSelection() bool
- func (x *PageInfo) GetSubmitAfter() string
- func (x *PageInfo) GetSubmitBefore() string
- func (x *PageInfo) GetTitle() string
- func (x *PageInfo) GetToolBar() *PageToolBar
- func (x *PageInfo) GetType() int32
- func (x *PageInfo) GetUpdatedAt() int64
- func (x *PageInfo) GetViewFormID() string
- func (*PageInfo) ProtoMessage()
- func (x *PageInfo) ProtoReflect() protoreflect.Message
- func (x *PageInfo) Reset()
- func (x *PageInfo) String() string
- type PageServer
- type PageToolBar
- func (*PageToolBar) Descriptor() ([]byte, []int)deprecated
- func (x *PageToolBar) GetAddScript() string
- func (x *PageToolBar) GetFullScreen() bool
- func (x *PageToolBar) GetId() string
- func (x *PageToolBar) GetPageID() string
- func (x *PageToolBar) GetReload() bool
- func (x *PageToolBar) GetRender() string
- func (x *PageToolBar) GetSetting() bool
- func (x *PageToolBar) GetShowAdd() bool
- func (*PageToolBar) ProtoMessage()
- func (x *PageToolBar) ProtoReflect() protoreflect.Message
- func (x *PageToolBar) Reset()
- func (x *PageToolBar) String() string
- type QueryMetadataRequest
- func (*QueryMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMetadataRequest) GetDesc() bool
- func (x *QueryMetadataRequest) GetName() string
- func (x *QueryMetadataRequest) GetOrderField() string
- func (x *QueryMetadataRequest) GetPageIndex() int64
- func (x *QueryMetadataRequest) GetPageSize() int64
- func (x *QueryMetadataRequest) GetParentID() string
- func (*QueryMetadataRequest) ProtoMessage()
- func (x *QueryMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *QueryMetadataRequest) Reset()
- func (x *QueryMetadataRequest) String() string
- type QueryMetadataResponse
- func (*QueryMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMetadataResponse) GetCode() Code
- func (x *QueryMetadataResponse) GetData() []*MetadataInfo
- func (x *QueryMetadataResponse) GetMessage() string
- func (x *QueryMetadataResponse) GetPages() int64
- func (x *QueryMetadataResponse) GetRecords() int64
- func (x *QueryMetadataResponse) GetTotal() int64
- func (*QueryMetadataResponse) ProtoMessage()
- func (x *QueryMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *QueryMetadataResponse) Reset()
- func (x *QueryMetadataResponse) String() string
- type QueryPageRequest
- func (*QueryPageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryPageRequest) GetDesc() bool
- func (x *QueryPageRequest) GetEnable() int32
- func (x *QueryPageRequest) GetName() string
- func (x *QueryPageRequest) GetOrderField() string
- func (x *QueryPageRequest) GetPageIndex() int64
- func (x *QueryPageRequest) GetPageSize() int64
- func (x *QueryPageRequest) GetType() int32
- func (*QueryPageRequest) ProtoMessage()
- func (x *QueryPageRequest) ProtoReflect() protoreflect.Message
- func (x *QueryPageRequest) Reset()
- func (x *QueryPageRequest) String() string
- type QueryPageResponse
- func (*QueryPageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryPageResponse) GetCode() Code
- func (x *QueryPageResponse) GetData() []*PageInfo
- func (x *QueryPageResponse) GetMessage() string
- func (x *QueryPageResponse) GetPages() int64
- func (x *QueryPageResponse) GetRecords() int64
- func (x *QueryPageResponse) GetTotal() int64
- func (*QueryPageResponse) ProtoMessage()
- func (x *QueryPageResponse) ProtoReflect() protoreflect.Message
- func (x *QueryPageResponse) Reset()
- func (x *QueryPageResponse) String() string
- type UnimplementedMetadataServer
- func (UnimplementedMetadataServer) Add(context.Context, *MetadataInfo) (*CommonResponse, error)
- func (UnimplementedMetadataServer) Copy(context.Context, *GetDetailRequest) (*CommonResponse, error)
- func (UnimplementedMetadataServer) Delete(context.Context, *DelRequest) (*CommonResponse, error)
- func (UnimplementedMetadataServer) GetAll(context.Context, *GetAllRequest) (*GetAllMetadataResponse, error)
- func (UnimplementedMetadataServer) GetDetail(context.Context, *GetDetailRequest) (*GetMetadataDetailResponse, error)
- func (UnimplementedMetadataServer) Query(context.Context, *QueryMetadataRequest) (*QueryMetadataResponse, error)
- func (UnimplementedMetadataServer) Update(context.Context, *MetadataInfo) (*CommonResponse, error)
- func (s *UnimplementedMetadataServer) XXX_GetProxyImpl() protocol.Invoker
- func (s *UnimplementedMetadataServer) XXX_InterfaceName() string
- func (s *UnimplementedMetadataServer) XXX_ServiceDesc() *grpc_go.ServiceDesc
- func (s *UnimplementedMetadataServer) XXX_SetProxyImpl(impl protocol.Invoker)
- type UnimplementedPageServer
- func (UnimplementedPageServer) Add(context.Context, *PageInfo) (*CommonResponse, error)
- func (UnimplementedPageServer) Copy(context.Context, *GetDetailRequest) (*CommonResponse, error)
- func (UnimplementedPageServer) Delete(context.Context, *DelRequest) (*CommonResponse, error)
- func (UnimplementedPageServer) Enable(context.Context, *EnableRequest) (*CommonResponse, error)
- func (UnimplementedPageServer) GetAll(context.Context, *GetAllRequest) (*GetAllPageResponse, error)
- func (UnimplementedPageServer) GetDetail(context.Context, *GetDetailRequest) (*GetPageDetailResponse, error)
- func (UnimplementedPageServer) Query(context.Context, *QueryPageRequest) (*QueryPageResponse, error)
- func (UnimplementedPageServer) Update(context.Context, *PageInfo) (*CommonResponse, error)
- func (s *UnimplementedPageServer) XXX_GetProxyImpl() protocol.Invoker
- func (s *UnimplementedPageServer) XXX_InterfaceName() string
- func (s *UnimplementedPageServer) XXX_ServiceDesc() *grpc_go.ServiceDesc
- func (s *UnimplementedPageServer) XXX_SetProxyImpl(impl protocol.Invoker)
- type UnsafeMetadataServer
- type UnsafePageServer
Constants ¶
This section is empty.
Variables ¶
var ( Code_name = map[int32]string{ 0: "Success", 50000: "InternalServerError", 40000: "BadRequest", 40001: "Unauthorized", 40002: "ErrRecordNotFound", 41001: "UserNameOrPasswordIsWrong", 41002: "UserIsNotExist", 41003: "NoPermission", 41004: "TokenInvalid", 41005: "TokenExpired", 41006: "UserDisabled", } Code_value = map[string]int32{ "Success": 0, "InternalServerError": 50000, "BadRequest": 40000, "Unauthorized": 40001, "ErrRecordNotFound": 40002, "UserNameOrPasswordIsWrong": 41001, "UserIsNotExist": 41002, "NoPermission": 41003, "TokenInvalid": 41004, "TokenExpired": 41005, "UserDisabled": 41006, } )
Enum value maps for Code.
var File_curd_common_proto protoreflect.FileDescriptor
var File_metadata_proto protoreflect.FileDescriptor
var File_page_proto protoreflect.FileDescriptor
var Metadata_ServiceDesc = grpc_go.ServiceDesc{ ServiceName: "curd.Metadata", HandlerType: (*MetadataServer)(nil), Methods: []grpc_go.MethodDesc{ { MethodName: "Add", Handler: _Metadata_Add_Handler, }, { MethodName: "Update", Handler: _Metadata_Update_Handler, }, { MethodName: "Delete", Handler: _Metadata_Delete_Handler, }, { MethodName: "Query", Handler: _Metadata_Query_Handler, }, { MethodName: "GetAll", Handler: _Metadata_GetAll_Handler, }, { MethodName: "GetDetail", Handler: _Metadata_GetDetail_Handler, }, { MethodName: "Copy", Handler: _Metadata_Copy_Handler, }, }, Streams: []grpc_go.StreamDesc{}, Metadata: "metadata.proto", }
Metadata_ServiceDesc is the grpc_go.ServiceDesc for Metadata service. It's only intended for direct use with grpc_go.RegisterService, and not to be introspected or modified (even as a copy)
var Page_ServiceDesc = grpc_go.ServiceDesc{ ServiceName: "curd.Page", HandlerType: (*PageServer)(nil), Methods: []grpc_go.MethodDesc{ { MethodName: "Add", Handler: _Page_Add_Handler, }, { MethodName: "Update", Handler: _Page_Update_Handler, }, { MethodName: "Delete", Handler: _Page_Delete_Handler, }, { MethodName: "Query", Handler: _Page_Query_Handler, }, { MethodName: "GetAll", Handler: _Page_GetAll_Handler, }, { MethodName: "GetDetail", Handler: _Page_GetDetail_Handler, }, { MethodName: "Copy", Handler: _Page_Copy_Handler, }, { MethodName: "Enable", Handler: _Page_Enable_Handler, }, }, Streams: []grpc_go.StreamDesc{}, Metadata: "page.proto", }
Page_ServiceDesc is the grpc_go.ServiceDesc for Page service. It's only intended for direct use with grpc_go.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMetadataServer ¶
func RegisterMetadataServer(s grpc_go.ServiceRegistrar, srv MetadataServer)
func RegisterPageServer ¶
func RegisterPageServer(s grpc_go.ServiceRegistrar, srv PageServer)
Types ¶
type Code ¶
type Code int32
const ( //成功 Code_Success Code = 0 //服务端错误 Code_InternalServerError Code = 50000 //错误请求参数 Code_BadRequest Code = 40000 Code_Unauthorized Code = 40001 //资源不存在 Code_ErrRecordNotFound Code = 40002 //用户名或者密码错误 Code_UserNameOrPasswordIsWrong Code = 41001 //用户不存在 Code_UserIsNotExist Code = 41002 //没有权限 Code_NoPermission Code = 41003 //无效Token Code_TokenInvalid Code = 41004 //Token过期 Code_TokenExpired Code = 41005 //已禁用用户 Code_UserDisabled Code = 41006 )
func (Code) Descriptor ¶
func (Code) Descriptor() protoreflect.EnumDescriptor
func (Code) EnumDescriptor
deprecated
func (Code) Number ¶
func (x Code) Number() protoreflect.EnumNumber
func (Code) Type ¶
func (Code) Type() protoreflect.EnumType
type CommonResponse ¶
type CommonResponse struct { Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=curd.Code" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*CommonResponse) Descriptor
deprecated
func (*CommonResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommonResponse.ProtoReflect.Descriptor instead.
func (*CommonResponse) GetCode ¶
func (x *CommonResponse) GetCode() Code
func (*CommonResponse) GetMessage ¶
func (x *CommonResponse) GetMessage() string
func (*CommonResponse) ProtoMessage ¶
func (*CommonResponse) ProtoMessage()
func (*CommonResponse) ProtoReflect ¶
func (x *CommonResponse) ProtoReflect() protoreflect.Message
func (*CommonResponse) Reset ¶
func (x *CommonResponse) Reset()
func (*CommonResponse) String ¶
func (x *CommonResponse) String() string
type DelRequest ¶
type DelRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` TenantID string `protobuf:"bytes,2,opt,name=tenantID,proto3" json:"tenantID,omitempty"` // contains filtered or unexported fields }
func (*DelRequest) Descriptor
deprecated
func (*DelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DelRequest.ProtoReflect.Descriptor instead.
func (*DelRequest) GetId ¶
func (x *DelRequest) GetId() string
func (*DelRequest) GetTenantID ¶
func (x *DelRequest) GetTenantID() string
func (*DelRequest) ProtoMessage ¶
func (*DelRequest) ProtoMessage()
func (*DelRequest) ProtoReflect ¶
func (x *DelRequest) ProtoReflect() protoreflect.Message
func (*DelRequest) Reset ¶
func (x *DelRequest) Reset()
func (*DelRequest) String ¶
func (x *DelRequest) String() string
type EnableRequest ¶
type EnableRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` TenantID string `protobuf:"bytes,2,opt,name=tenantID,proto3" json:"tenantID,omitempty"` Enable bool `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"` // contains filtered or unexported fields }
func (*EnableRequest) Descriptor
deprecated
func (*EnableRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnableRequest.ProtoReflect.Descriptor instead.
func (*EnableRequest) GetEnable ¶
func (x *EnableRequest) GetEnable() bool
func (*EnableRequest) GetId ¶
func (x *EnableRequest) GetId() string
func (*EnableRequest) GetTenantID ¶
func (x *EnableRequest) GetTenantID() string
func (*EnableRequest) ProtoMessage ¶
func (*EnableRequest) ProtoMessage()
func (*EnableRequest) ProtoReflect ¶
func (x *EnableRequest) ProtoReflect() protoreflect.Message
func (*EnableRequest) Reset ¶
func (x *EnableRequest) Reset()
func (*EnableRequest) String ¶
func (x *EnableRequest) String() string
type GetAllMetadataResponse ¶
type GetAllMetadataResponse struct { Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=curd.Code" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data []*MetadataInfo `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetAllMetadataResponse) Descriptor
deprecated
func (*GetAllMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllMetadataResponse.ProtoReflect.Descriptor instead.
func (*GetAllMetadataResponse) GetCode ¶
func (x *GetAllMetadataResponse) GetCode() Code
func (*GetAllMetadataResponse) GetData ¶
func (x *GetAllMetadataResponse) GetData() []*MetadataInfo
func (*GetAllMetadataResponse) GetMessage ¶
func (x *GetAllMetadataResponse) GetMessage() string
func (*GetAllMetadataResponse) ProtoMessage ¶
func (*GetAllMetadataResponse) ProtoMessage()
func (*GetAllMetadataResponse) ProtoReflect ¶
func (x *GetAllMetadataResponse) ProtoReflect() protoreflect.Message
func (*GetAllMetadataResponse) Reset ¶
func (x *GetAllMetadataResponse) Reset()
func (*GetAllMetadataResponse) String ¶
func (x *GetAllMetadataResponse) String() string
type GetAllPageResponse ¶
type GetAllPageResponse struct { Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=curd.Code" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data []*PageInfo `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetAllPageResponse) Descriptor
deprecated
func (*GetAllPageResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllPageResponse.ProtoReflect.Descriptor instead.
func (*GetAllPageResponse) GetCode ¶
func (x *GetAllPageResponse) GetCode() Code
func (*GetAllPageResponse) GetData ¶
func (x *GetAllPageResponse) GetData() []*PageInfo
func (*GetAllPageResponse) GetMessage ¶
func (x *GetAllPageResponse) GetMessage() string
func (*GetAllPageResponse) ProtoMessage ¶
func (*GetAllPageResponse) ProtoMessage()
func (*GetAllPageResponse) ProtoReflect ¶
func (x *GetAllPageResponse) ProtoReflect() protoreflect.Message
func (*GetAllPageResponse) Reset ¶
func (x *GetAllPageResponse) Reset()
func (*GetAllPageResponse) String ¶
func (x *GetAllPageResponse) String() string
type GetAllRequest ¶
type GetAllRequest struct {
// contains filtered or unexported fields
}
func (*GetAllRequest) Descriptor
deprecated
func (*GetAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllRequest.ProtoReflect.Descriptor instead.
func (*GetAllRequest) ProtoMessage ¶
func (*GetAllRequest) ProtoMessage()
func (*GetAllRequest) ProtoReflect ¶
func (x *GetAllRequest) ProtoReflect() protoreflect.Message
func (*GetAllRequest) Reset ¶
func (x *GetAllRequest) Reset()
func (*GetAllRequest) String ¶
func (x *GetAllRequest) String() string
type GetDetailRequest ¶
type GetDetailRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` TenantID string `protobuf:"bytes,2,opt,name=tenantID,proto3" json:"tenantID,omitempty"` // contains filtered or unexported fields }
func (*GetDetailRequest) Descriptor
deprecated
func (*GetDetailRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDetailRequest.ProtoReflect.Descriptor instead.
func (*GetDetailRequest) GetId ¶
func (x *GetDetailRequest) GetId() string
func (*GetDetailRequest) GetTenantID ¶
func (x *GetDetailRequest) GetTenantID() string
func (*GetDetailRequest) ProtoMessage ¶
func (*GetDetailRequest) ProtoMessage()
func (*GetDetailRequest) ProtoReflect ¶
func (x *GetDetailRequest) ProtoReflect() protoreflect.Message
func (*GetDetailRequest) Reset ¶
func (x *GetDetailRequest) Reset()
func (*GetDetailRequest) String ¶
func (x *GetDetailRequest) String() string
type GetMetadataDetailResponse ¶
type GetMetadataDetailResponse struct { Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=curd.Code" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data *MetadataInfo `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetMetadataDetailResponse) Descriptor
deprecated
func (*GetMetadataDetailResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMetadataDetailResponse.ProtoReflect.Descriptor instead.
func (*GetMetadataDetailResponse) GetCode ¶
func (x *GetMetadataDetailResponse) GetCode() Code
func (*GetMetadataDetailResponse) GetData ¶
func (x *GetMetadataDetailResponse) GetData() *MetadataInfo
func (*GetMetadataDetailResponse) GetMessage ¶
func (x *GetMetadataDetailResponse) GetMessage() string
func (*GetMetadataDetailResponse) ProtoMessage ¶
func (*GetMetadataDetailResponse) ProtoMessage()
func (*GetMetadataDetailResponse) ProtoReflect ¶
func (x *GetMetadataDetailResponse) ProtoReflect() protoreflect.Message
func (*GetMetadataDetailResponse) Reset ¶
func (x *GetMetadataDetailResponse) Reset()
func (*GetMetadataDetailResponse) String ¶
func (x *GetMetadataDetailResponse) String() string
type GetPageDetailResponse ¶
type GetPageDetailResponse struct { Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=curd.Code" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data *PageInfo `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetPageDetailResponse) Descriptor
deprecated
func (*GetPageDetailResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPageDetailResponse.ProtoReflect.Descriptor instead.
func (*GetPageDetailResponse) GetCode ¶
func (x *GetPageDetailResponse) GetCode() Code
func (*GetPageDetailResponse) GetData ¶
func (x *GetPageDetailResponse) GetData() *PageInfo
func (*GetPageDetailResponse) GetMessage ¶
func (x *GetPageDetailResponse) GetMessage() string
func (*GetPageDetailResponse) ProtoMessage ¶
func (*GetPageDetailResponse) ProtoMessage()
func (*GetPageDetailResponse) ProtoReflect ¶
func (x *GetPageDetailResponse) ProtoReflect() protoreflect.Message
func (*GetPageDetailResponse) Reset ¶
func (x *GetPageDetailResponse) Reset()
func (*GetPageDetailResponse) String ¶
func (x *GetPageDetailResponse) String() string
type MetadataClient ¶
type MetadataClient interface { Add(ctx context.Context, in *MetadataInfo, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) Update(ctx context.Context, in *MetadataInfo, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) Delete(ctx context.Context, in *DelRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) Query(ctx context.Context, in *QueryMetadataRequest, opts ...grpc_go.CallOption) (*QueryMetadataResponse, common.ErrorWithAttachment) GetAll(ctx context.Context, in *GetAllRequest, opts ...grpc_go.CallOption) (*GetAllMetadataResponse, common.ErrorWithAttachment) GetDetail(ctx context.Context, in *GetDetailRequest, opts ...grpc_go.CallOption) (*GetMetadataDetailResponse, common.ErrorWithAttachment) Copy(ctx context.Context, in *GetDetailRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) }
MetadataClient is the client API for Metadata 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 NewMetadataClient ¶
func NewMetadataClient(cc *triple.TripleConn) MetadataClient
type MetadataClientImpl ¶
type MetadataClientImpl struct { Add func(ctx context.Context, in *MetadataInfo) (*CommonResponse, error) Update func(ctx context.Context, in *MetadataInfo) (*CommonResponse, error) Delete func(ctx context.Context, in *DelRequest) (*CommonResponse, error) Query func(ctx context.Context, in *QueryMetadataRequest) (*QueryMetadataResponse, error) GetAll func(ctx context.Context, in *GetAllRequest) (*GetAllMetadataResponse, error) GetDetail func(ctx context.Context, in *GetDetailRequest) (*GetMetadataDetailResponse, error) Copy func(ctx context.Context, in *GetDetailRequest) (*CommonResponse, error) }
func (*MetadataClientImpl) GetDubboStub ¶
func (c *MetadataClientImpl) GetDubboStub(cc *triple.TripleConn) MetadataClient
func (*MetadataClientImpl) XXX_InterfaceName ¶ added in v1.0.3
func (c *MetadataClientImpl) XXX_InterfaceName() string
type MetadataField ¶
type MetadataField struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` MetadataID string `protobuf:"bytes,2,opt,name=metadataID,proto3" json:"metadataID,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Length int32 `protobuf:"varint,5,opt,name=length,proto3" json:"length,omitempty"` NotNull bool `protobuf:"varint,6,opt,name=notNull,proto3" json:"notNull,omitempty"` Comment string `protobuf:"bytes,7,opt,name=comment,proto3" json:"comment,omitempty"` IsArray bool `protobuf:"varint,8,opt,name=isArray,proto3" json:"isArray,omitempty"` RefMetadata string `protobuf:"bytes,9,opt,name=refMetadata,proto3" json:"refMetadata,omitempty"` DisplayName string `protobuf:"bytes,10,opt,name=displayName,proto3" json:"displayName,omitempty"` ShowInTable bool `protobuf:"varint,11,opt,name=showInTable,proto3" json:"showInTable,omitempty"` ShowInEdit bool `protobuf:"varint,12,opt,name=showInEdit,proto3" json:"showInEdit,omitempty"` Component string `protobuf:"bytes,13,opt,name=component,proto3" json:"component,omitempty"` Unique bool `protobuf:"varint,14,opt,name=unique,proto3" json:"unique,omitempty"` Index bool `protobuf:"varint,15,opt,name=index,proto3" json:"index,omitempty"` DefaultValue string `protobuf:"bytes,16,opt,name=defaultValue,proto3" json:"defaultValue,omitempty"` ShowInQuery bool `protobuf:"varint,17,opt,name=showInQuery,proto3" json:"showInQuery,omitempty"` Order int32 `protobuf:"varint,18,opt,name=order,proto3" json:"order,omitempty"` Like bool `protobuf:"varint,19,opt,name=like,proto3" json:"like,omitempty"` Copier bool `protobuf:"varint,20,opt,name=copier,proto3" json:"copier,omitempty"` // contains filtered or unexported fields }
func (*MetadataField) Descriptor
deprecated
func (*MetadataField) Descriptor() ([]byte, []int)
Deprecated: Use MetadataField.ProtoReflect.Descriptor instead.
func (*MetadataField) GetComment ¶
func (x *MetadataField) GetComment() string
func (*MetadataField) GetComponent ¶
func (x *MetadataField) GetComponent() string
func (*MetadataField) GetCopier ¶
func (x *MetadataField) GetCopier() bool
func (*MetadataField) GetDefaultValue ¶
func (x *MetadataField) GetDefaultValue() string
func (*MetadataField) GetDisplayName ¶
func (x *MetadataField) GetDisplayName() string
func (*MetadataField) GetId ¶
func (x *MetadataField) GetId() string
func (*MetadataField) GetIndex ¶
func (x *MetadataField) GetIndex() bool
func (*MetadataField) GetIsArray ¶
func (x *MetadataField) GetIsArray() bool
func (*MetadataField) GetLength ¶
func (x *MetadataField) GetLength() int32
func (*MetadataField) GetLike ¶
func (x *MetadataField) GetLike() bool
func (*MetadataField) GetMetadataID ¶
func (x *MetadataField) GetMetadataID() string
func (*MetadataField) GetName ¶
func (x *MetadataField) GetName() string
func (*MetadataField) GetNotNull ¶
func (x *MetadataField) GetNotNull() bool
func (*MetadataField) GetOrder ¶
func (x *MetadataField) GetOrder() int32
func (*MetadataField) GetRefMetadata ¶
func (x *MetadataField) GetRefMetadata() string
func (*MetadataField) GetShowInEdit ¶
func (x *MetadataField) GetShowInEdit() bool
func (*MetadataField) GetShowInQuery ¶
func (x *MetadataField) GetShowInQuery() bool
func (*MetadataField) GetShowInTable ¶
func (x *MetadataField) GetShowInTable() bool
func (*MetadataField) GetType ¶
func (x *MetadataField) GetType() string
func (*MetadataField) GetUnique ¶
func (x *MetadataField) GetUnique() bool
func (*MetadataField) ProtoMessage ¶
func (*MetadataField) ProtoMessage()
func (*MetadataField) ProtoReflect ¶
func (x *MetadataField) ProtoReflect() protoreflect.Message
func (*MetadataField) Reset ¶
func (x *MetadataField) Reset()
func (*MetadataField) String ¶
func (x *MetadataField) String() string
type MetadataInfo ¶
type MetadataInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` DisplayName string `protobuf:"bytes,3,opt,name=displayName,proto3" json:"displayName,omitempty"` Level int32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"` ParentID string `protobuf:"bytes,5,opt,name=parentID,proto3" json:"parentID,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` Package string `protobuf:"bytes,7,opt,name=package,proto3" json:"package,omitempty"` MetadataFields []*MetadataField `protobuf:"bytes,9,rep,name=metadataFields,proto3" json:"metadataFields,omitempty"` Children []*MetadataInfo `protobuf:"bytes,10,rep,name=children,proto3" json:"children,omitempty"` System string `protobuf:"bytes,11,opt,name=system,proto3" json:"system,omitempty"` // contains filtered or unexported fields }
func (*MetadataInfo) Descriptor
deprecated
func (*MetadataInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetadataInfo.ProtoReflect.Descriptor instead.
func (*MetadataInfo) GetChildren ¶
func (x *MetadataInfo) GetChildren() []*MetadataInfo
func (*MetadataInfo) GetDescription ¶
func (x *MetadataInfo) GetDescription() string
func (*MetadataInfo) GetDisplayName ¶
func (x *MetadataInfo) GetDisplayName() string
func (*MetadataInfo) GetId ¶
func (x *MetadataInfo) GetId() string
func (*MetadataInfo) GetLevel ¶
func (x *MetadataInfo) GetLevel() int32
func (*MetadataInfo) GetMetadataFields ¶
func (x *MetadataInfo) GetMetadataFields() []*MetadataField
func (*MetadataInfo) GetName ¶
func (x *MetadataInfo) GetName() string
func (*MetadataInfo) GetPackage ¶
func (x *MetadataInfo) GetPackage() string
func (*MetadataInfo) GetParentID ¶
func (x *MetadataInfo) GetParentID() string
func (*MetadataInfo) GetSystem ¶
func (x *MetadataInfo) GetSystem() string
func (*MetadataInfo) ProtoMessage ¶
func (*MetadataInfo) ProtoMessage()
func (*MetadataInfo) ProtoReflect ¶
func (x *MetadataInfo) ProtoReflect() protoreflect.Message
func (*MetadataInfo) Reset ¶
func (x *MetadataInfo) Reset()
func (*MetadataInfo) String ¶
func (x *MetadataInfo) String() string
type MetadataServer ¶
type MetadataServer interface { Add(context.Context, *MetadataInfo) (*CommonResponse, error) Update(context.Context, *MetadataInfo) (*CommonResponse, error) Delete(context.Context, *DelRequest) (*CommonResponse, error) Query(context.Context, *QueryMetadataRequest) (*QueryMetadataResponse, error) GetAll(context.Context, *GetAllRequest) (*GetAllMetadataResponse, error) GetDetail(context.Context, *GetDetailRequest) (*GetMetadataDetailResponse, error) Copy(context.Context, *GetDetailRequest) (*CommonResponse, error) // contains filtered or unexported methods }
MetadataServer is the server API for Metadata service. All implementations must embed UnimplementedMetadataServer for forward compatibility
type PageButton ¶
type PageButton struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` PageID string `protobuf:"bytes,2,opt,name=pageID,proto3" json:"pageID,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"` Expanded bool `protobuf:"varint,5,opt,name=expanded,proto3" json:"expanded,omitempty"` ShowType string `protobuf:"bytes,6,opt,name=showType,proto3" json:"showType,omitempty"` Href string `protobuf:"bytes,7,opt,name=href,proto3" json:"href,omitempty"` HrefFunc string `protobuf:"bytes,8,opt,name=hrefFunc,proto3" json:"hrefFunc,omitempty"` Script string `protobuf:"bytes,9,opt,name=script,proto3" json:"script,omitempty"` Index int32 `protobuf:"varint,10,opt,name=index,proto3" json:"index,omitempty"` Enable bool `protobuf:"varint,11,opt,name=enable,proto3" json:"enable,omitempty"` // contains filtered or unexported fields }
func (*PageButton) Descriptor
deprecated
func (*PageButton) Descriptor() ([]byte, []int)
Deprecated: Use PageButton.ProtoReflect.Descriptor instead.
func (*PageButton) GetEnable ¶ added in v1.0.3
func (x *PageButton) GetEnable() bool
func (*PageButton) GetExpanded ¶
func (x *PageButton) GetExpanded() bool
func (*PageButton) GetHref ¶
func (x *PageButton) GetHref() string
func (*PageButton) GetHrefFunc ¶
func (x *PageButton) GetHrefFunc() string
func (*PageButton) GetId ¶
func (x *PageButton) GetId() string
func (*PageButton) GetIndex ¶
func (x *PageButton) GetIndex() int32
func (*PageButton) GetKey ¶
func (x *PageButton) GetKey() string
func (*PageButton) GetLabel ¶
func (x *PageButton) GetLabel() string
func (*PageButton) GetPageID ¶
func (x *PageButton) GetPageID() string
func (*PageButton) GetScript ¶
func (x *PageButton) GetScript() string
func (*PageButton) GetShowType ¶
func (x *PageButton) GetShowType() string
func (*PageButton) ProtoMessage ¶
func (*PageButton) ProtoMessage()
func (*PageButton) ProtoReflect ¶
func (x *PageButton) ProtoReflect() protoreflect.Message
func (*PageButton) Reset ¶
func (x *PageButton) Reset()
func (*PageButton) String ¶
func (x *PageButton) String() string
type PageClient ¶
type PageClient interface { Add(ctx context.Context, in *PageInfo, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) Update(ctx context.Context, in *PageInfo, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) Delete(ctx context.Context, in *DelRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) Query(ctx context.Context, in *QueryPageRequest, opts ...grpc_go.CallOption) (*QueryPageResponse, common.ErrorWithAttachment) GetAll(ctx context.Context, in *GetAllRequest, opts ...grpc_go.CallOption) (*GetAllPageResponse, common.ErrorWithAttachment) GetDetail(ctx context.Context, in *GetDetailRequest, opts ...grpc_go.CallOption) (*GetPageDetailResponse, common.ErrorWithAttachment) Copy(ctx context.Context, in *GetDetailRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) Enable(ctx context.Context, in *EnableRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) }
PageClient is the client API for Page 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 NewPageClient ¶
func NewPageClient(cc *triple.TripleConn) PageClient
type PageClientImpl ¶
type PageClientImpl struct { Add func(ctx context.Context, in *PageInfo) (*CommonResponse, error) Update func(ctx context.Context, in *PageInfo) (*CommonResponse, error) Delete func(ctx context.Context, in *DelRequest) (*CommonResponse, error) Query func(ctx context.Context, in *QueryPageRequest) (*QueryPageResponse, error) GetAll func(ctx context.Context, in *GetAllRequest) (*GetAllPageResponse, error) GetDetail func(ctx context.Context, in *GetDetailRequest) (*GetPageDetailResponse, error) Copy func(ctx context.Context, in *GetDetailRequest) (*CommonResponse, error) Enable func(ctx context.Context, in *EnableRequest) (*CommonResponse, error) }
func (*PageClientImpl) GetDubboStub ¶
func (c *PageClientImpl) GetDubboStub(cc *triple.TripleConn) PageClient
func (*PageClientImpl) XXX_InterfaceName ¶ added in v1.0.3
func (c *PageClientImpl) XXX_InterfaceName() string
type PageField ¶
type PageField struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` PageID string `protobuf:"bytes,2,opt,name=pageID,proto3" json:"pageID,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` Copyable bool `protobuf:"varint,5,opt,name=copyable,proto3" json:"copyable,omitempty"` Ellipsis bool `protobuf:"varint,6,opt,name=ellipsis,proto3" json:"ellipsis,omitempty"` RowKey bool `protobuf:"varint,7,opt,name=rowKey,proto3" json:"rowKey,omitempty"` Sort int32 `protobuf:"varint,8,opt,name=sort,proto3" json:"sort,omitempty"` ShowInTable bool `protobuf:"varint,9,opt,name=showInTable,proto3" json:"showInTable,omitempty"` ValueEnum string `protobuf:"bytes,10,opt,name=valueEnum,proto3" json:"valueEnum,omitempty"` Component string `protobuf:"bytes,11,opt,name=component,proto3" json:"component,omitempty"` ComponentProps string `protobuf:"bytes,12,opt,name=componentProps,proto3" json:"componentProps,omitempty"` DataType string `protobuf:"bytes,13,opt,name=dataType,proto3" json:"dataType,omitempty"` LabelField string `protobuf:"bytes,14,opt,name=labelField,proto3" json:"labelField,omitempty"` ValueField string `protobuf:"bytes,15,opt,name=valueField,proto3" json:"valueField,omitempty"` // contains filtered or unexported fields }
func (*PageField) Descriptor
deprecated
func (*PageField) GetComponent ¶
func (*PageField) GetComponentProps ¶
func (*PageField) GetCopyable ¶
func (*PageField) GetDataType ¶
func (*PageField) GetEllipsis ¶
func (*PageField) GetLabelField ¶
func (*PageField) GetShowInTable ¶
func (*PageField) GetValueEnum ¶
func (*PageField) GetValueField ¶
func (*PageField) ProtoMessage ¶
func (*PageField) ProtoMessage()
func (*PageField) ProtoReflect ¶
func (x *PageField) ProtoReflect() protoreflect.Message
type PageInfo ¶
type PageInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Enable bool `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"` MetadataID string `protobuf:"bytes,4,opt,name=metadataID,proto3" json:"metadataID,omitempty"` PageSize uint32 `protobuf:"varint,5,opt,name=pageSize,proto3" json:"pageSize,omitempty"` Editable string `protobuf:"bytes,6,opt,name=editable,proto3" json:"editable,omitempty"` ShowIndex bool `protobuf:"varint,7,opt,name=showIndex,proto3" json:"showIndex,omitempty"` ShowSelection bool `protobuf:"varint,39,opt,name=showSelection,proto3" json:"showSelection,omitempty"` ToolBar *PageToolBar `protobuf:"bytes,8,opt,name=toolBar,proto3" json:"toolBar,omitempty"` Fields []*PageField `protobuf:"bytes,9,rep,name=fields,proto3" json:"fields,omitempty"` Path string `protobuf:"bytes,10,opt,name=path,proto3" json:"path,omitempty"` Title string `protobuf:"bytes,11,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"` SearchDefaultValue string `protobuf:"bytes,13,opt,name=searchDefaultValue,proto3" json:"searchDefaultValue,omitempty"` EditFormID string `protobuf:"bytes,14,opt,name=editFormID,proto3" json:"editFormID,omitempty"` SearchFormID string `protobuf:"bytes,15,opt,name=searchFormID,proto3" json:"searchFormID,omitempty"` AddFormID string `protobuf:"bytes,16,opt,name=addFormID,proto3" json:"addFormID,omitempty"` ViewFormID string `protobuf:"bytes,17,opt,name=viewFormID,proto3" json:"viewFormID,omitempty"` Type int32 `protobuf:"varint,18,opt,name=type,proto3" json:"type,omitempty"` SubmitBefore string `protobuf:"bytes,19,opt,name=submitBefore,proto3" json:"submitBefore,omitempty"` SubmitAfter string `protobuf:"bytes,20,opt,name=submitAfter,proto3" json:"submitAfter,omitempty"` LoadDetailBefore string `protobuf:"bytes,21,opt,name=loadDetailBefore,proto3" json:"loadDetailBefore,omitempty"` LoadDetailAfter string `protobuf:"bytes,22,opt,name=loadDetailAfter,proto3" json:"loadDetailAfter,omitempty"` QueryBefore string `protobuf:"bytes,23,opt,name=queryBefore,proto3" json:"queryBefore,omitempty"` QueryAfter string `protobuf:"bytes,24,opt,name=queryAfter,proto3" json:"queryAfter,omitempty"` ListAvatarField string `protobuf:"bytes,25,opt,name=listAvatarField,proto3" json:"listAvatarField,omitempty"` ListTitleField string `protobuf:"bytes,26,opt,name=listTitleField,proto3" json:"listTitleField,omitempty"` ListDescriptionField string `protobuf:"bytes,27,opt,name=listDescriptionField,proto3" json:"listDescriptionField,omitempty"` ListContentField string `protobuf:"bytes,28,opt,name=listContentField,proto3" json:"listContentField,omitempty"` ListLoadType int32 `protobuf:"varint,29,opt,name=listLoadType,proto3" json:"listLoadType,omitempty"` CardAvatarField string `protobuf:"bytes,30,opt,name=cardAvatarField,proto3" json:"cardAvatarField,omitempty"` CardTitleField string `protobuf:"bytes,31,opt,name=cardTitleField,proto3" json:"cardTitleField,omitempty"` CardDescriptionField string `protobuf:"bytes,32,opt,name=cardDescriptionField,proto3" json:"cardDescriptionField,omitempty"` CardContentField string `protobuf:"bytes,33,opt,name=cardContentField,proto3" json:"cardContentField,omitempty"` CardLoadType int32 `protobuf:"varint,34,opt,name=cardLoadType,proto3" json:"cardLoadType,omitempty"` CardImageField string `protobuf:"bytes,35,opt,name=cardImageField,proto3" json:"cardImageField,omitempty"` Buttons []*PageButton `protobuf:"bytes,36,rep,name=buttons,proto3" json:"buttons,omitempty"` CreatedAt int64 `protobuf:"varint,37,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt int64 `protobuf:"varint,38,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*PageInfo) Descriptor
deprecated
func (*PageInfo) GetAddFormID ¶
func (*PageInfo) GetButtons ¶
func (x *PageInfo) GetButtons() []*PageButton
func (*PageInfo) GetCardAvatarField ¶
func (*PageInfo) GetCardContentField ¶
func (*PageInfo) GetCardDescriptionField ¶
func (*PageInfo) GetCardImageField ¶
func (*PageInfo) GetCardLoadType ¶
func (*PageInfo) GetCardTitleField ¶
func (*PageInfo) GetCreatedAt ¶
func (*PageInfo) GetDescription ¶
func (*PageInfo) GetEditFormID ¶
func (*PageInfo) GetEditable ¶
func (*PageInfo) GetListAvatarField ¶
func (*PageInfo) GetListContentField ¶
func (*PageInfo) GetListDescriptionField ¶
func (*PageInfo) GetListLoadType ¶
func (*PageInfo) GetListTitleField ¶
func (*PageInfo) GetLoadDetailAfter ¶
func (*PageInfo) GetLoadDetailBefore ¶
func (*PageInfo) GetMetadataID ¶
func (*PageInfo) GetPageSize ¶
func (*PageInfo) GetQueryAfter ¶
func (*PageInfo) GetQueryBefore ¶
func (*PageInfo) GetSearchDefaultValue ¶
func (*PageInfo) GetSearchFormID ¶
func (*PageInfo) GetShowIndex ¶
func (*PageInfo) GetShowSelection ¶
func (*PageInfo) GetSubmitAfter ¶
func (*PageInfo) GetSubmitBefore ¶
func (*PageInfo) GetToolBar ¶
func (x *PageInfo) GetToolBar() *PageToolBar
func (*PageInfo) GetUpdatedAt ¶
func (*PageInfo) GetViewFormID ¶
func (*PageInfo) ProtoMessage ¶
func (*PageInfo) ProtoMessage()
func (*PageInfo) ProtoReflect ¶
func (x *PageInfo) ProtoReflect() protoreflect.Message
type PageServer ¶
type PageServer interface { Add(context.Context, *PageInfo) (*CommonResponse, error) Update(context.Context, *PageInfo) (*CommonResponse, error) Delete(context.Context, *DelRequest) (*CommonResponse, error) Query(context.Context, *QueryPageRequest) (*QueryPageResponse, error) GetAll(context.Context, *GetAllRequest) (*GetAllPageResponse, error) GetDetail(context.Context, *GetDetailRequest) (*GetPageDetailResponse, error) Copy(context.Context, *GetDetailRequest) (*CommonResponse, error) Enable(context.Context, *EnableRequest) (*CommonResponse, error) // contains filtered or unexported methods }
PageServer is the server API for Page service. All implementations must embed UnimplementedPageServer for forward compatibility
type PageToolBar ¶
type PageToolBar struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` PageID string `protobuf:"bytes,2,opt,name=pageID,proto3" json:"pageID,omitempty"` FullScreen bool `protobuf:"varint,3,opt,name=fullScreen,proto3" json:"fullScreen,omitempty"` Reload bool `protobuf:"varint,4,opt,name=reload,proto3" json:"reload,omitempty"` Setting bool `protobuf:"varint,5,opt,name=setting,proto3" json:"setting,omitempty"` Render string `protobuf:"bytes,6,opt,name=render,proto3" json:"render,omitempty"` ShowAdd bool `protobuf:"varint,7,opt,name=showAdd,proto3" json:"showAdd,omitempty"` AddScript string `protobuf:"bytes,8,opt,name=addScript,proto3" json:"addScript,omitempty"` // contains filtered or unexported fields }
func (*PageToolBar) Descriptor
deprecated
func (*PageToolBar) Descriptor() ([]byte, []int)
Deprecated: Use PageToolBar.ProtoReflect.Descriptor instead.
func (*PageToolBar) GetAddScript ¶
func (x *PageToolBar) GetAddScript() string
func (*PageToolBar) GetFullScreen ¶
func (x *PageToolBar) GetFullScreen() bool
func (*PageToolBar) GetId ¶
func (x *PageToolBar) GetId() string
func (*PageToolBar) GetPageID ¶
func (x *PageToolBar) GetPageID() string
func (*PageToolBar) GetReload ¶
func (x *PageToolBar) GetReload() bool
func (*PageToolBar) GetRender ¶
func (x *PageToolBar) GetRender() string
func (*PageToolBar) GetSetting ¶
func (x *PageToolBar) GetSetting() bool
func (*PageToolBar) GetShowAdd ¶
func (x *PageToolBar) GetShowAdd() bool
func (*PageToolBar) ProtoMessage ¶
func (*PageToolBar) ProtoMessage()
func (*PageToolBar) ProtoReflect ¶
func (x *PageToolBar) ProtoReflect() protoreflect.Message
func (*PageToolBar) Reset ¶
func (x *PageToolBar) Reset()
func (*PageToolBar) String ¶
func (x *PageToolBar) String() string
type QueryMetadataRequest ¶
type QueryMetadataRequest struct { // @inject_tag: uri:"pageIndex" form:"pageIndex" PageIndex int64 `protobuf:"varint,1,opt,name=pageIndex,proto3" json:"pageIndex,omitempty" uri:"pageIndex" form:"pageIndex"` // @inject_tag: uri:"pageSize" form:"pageSize" PageSize int64 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty" uri:"pageSize" form:"pageSize"` // @inject_tag: uri:"orderField" form:"orderField" OrderField string `protobuf:"bytes,3,opt,name=orderField,proto3" json:"orderField,omitempty" uri:"orderField" form:"orderField"` // @inject_tag: uri:"desc" form:"desc" Desc bool `protobuf:"varint,4,opt,name=desc,proto3" json:"desc,omitempty" uri:"desc" form:"desc"` // @inject_tag: uri:"name" form:"name" Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty" uri:"name" form:"name"` // @inject_tag: uri:"parentID" form:"parentID" ParentID string `protobuf:"bytes,6,opt,name=parentID,proto3" json:"parentID,omitempty" uri:"parentID" form:"parentID"` // contains filtered or unexported fields }
func (*QueryMetadataRequest) Descriptor
deprecated
func (*QueryMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryMetadataRequest.ProtoReflect.Descriptor instead.
func (*QueryMetadataRequest) GetDesc ¶
func (x *QueryMetadataRequest) GetDesc() bool
func (*QueryMetadataRequest) GetName ¶
func (x *QueryMetadataRequest) GetName() string
func (*QueryMetadataRequest) GetOrderField ¶
func (x *QueryMetadataRequest) GetOrderField() string
func (*QueryMetadataRequest) GetPageIndex ¶
func (x *QueryMetadataRequest) GetPageIndex() int64
func (*QueryMetadataRequest) GetPageSize ¶
func (x *QueryMetadataRequest) GetPageSize() int64
func (*QueryMetadataRequest) GetParentID ¶
func (x *QueryMetadataRequest) GetParentID() string
func (*QueryMetadataRequest) ProtoMessage ¶
func (*QueryMetadataRequest) ProtoMessage()
func (*QueryMetadataRequest) ProtoReflect ¶
func (x *QueryMetadataRequest) ProtoReflect() protoreflect.Message
func (*QueryMetadataRequest) Reset ¶
func (x *QueryMetadataRequest) Reset()
func (*QueryMetadataRequest) String ¶
func (x *QueryMetadataRequest) String() string
type QueryMetadataResponse ¶
type QueryMetadataResponse struct { Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=curd.Code" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data []*MetadataInfo `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` Pages int64 `protobuf:"varint,4,opt,name=pages,proto3" json:"pages,omitempty"` Records int64 `protobuf:"varint,5,opt,name=records,proto3" json:"records,omitempty"` Total int64 `protobuf:"varint,6,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*QueryMetadataResponse) Descriptor
deprecated
func (*QueryMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryMetadataResponse.ProtoReflect.Descriptor instead.
func (*QueryMetadataResponse) GetCode ¶
func (x *QueryMetadataResponse) GetCode() Code
func (*QueryMetadataResponse) GetData ¶
func (x *QueryMetadataResponse) GetData() []*MetadataInfo
func (*QueryMetadataResponse) GetMessage ¶
func (x *QueryMetadataResponse) GetMessage() string
func (*QueryMetadataResponse) GetPages ¶
func (x *QueryMetadataResponse) GetPages() int64
func (*QueryMetadataResponse) GetRecords ¶
func (x *QueryMetadataResponse) GetRecords() int64
func (*QueryMetadataResponse) GetTotal ¶
func (x *QueryMetadataResponse) GetTotal() int64
func (*QueryMetadataResponse) ProtoMessage ¶
func (*QueryMetadataResponse) ProtoMessage()
func (*QueryMetadataResponse) ProtoReflect ¶
func (x *QueryMetadataResponse) ProtoReflect() protoreflect.Message
func (*QueryMetadataResponse) Reset ¶
func (x *QueryMetadataResponse) Reset()
func (*QueryMetadataResponse) String ¶
func (x *QueryMetadataResponse) String() string
type QueryPageRequest ¶
type QueryPageRequest struct { // @inject_tag: uri:"pageIndex" form:"pageIndex" PageIndex int64 `protobuf:"varint,1,opt,name=pageIndex,proto3" json:"pageIndex,omitempty" uri:"pageIndex" form:"pageIndex"` // @inject_tag: uri:"pageSize" form:"pageSize" PageSize int64 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty" uri:"pageSize" form:"pageSize"` // @inject_tag: uri:"orderField" form:"orderField" OrderField string `protobuf:"bytes,3,opt,name=orderField,proto3" json:"orderField,omitempty" uri:"orderField" form:"orderField"` // @inject_tag: uri:"desc" form:"desc" Desc bool `protobuf:"varint,4,opt,name=desc,proto3" json:"desc,omitempty" uri:"desc" form:"desc"` // @inject_tag: uri:"name" form:"name" Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty" uri:"name" form:"name"` // @inject_tag: uri:"enable" form:"enable" Enable int32 `protobuf:"varint,6,opt,name=enable,proto3" json:"enable,omitempty" uri:"enable" form:"enable"` // @inject_tag: uri:"type" form:"type" Type int32 `protobuf:"varint,7,opt,name=type,proto3" json:"type,omitempty" uri:"type" form:"type"` // contains filtered or unexported fields }
func (*QueryPageRequest) Descriptor
deprecated
func (*QueryPageRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryPageRequest.ProtoReflect.Descriptor instead.
func (*QueryPageRequest) GetDesc ¶
func (x *QueryPageRequest) GetDesc() bool
func (*QueryPageRequest) GetEnable ¶
func (x *QueryPageRequest) GetEnable() int32
func (*QueryPageRequest) GetName ¶
func (x *QueryPageRequest) GetName() string
func (*QueryPageRequest) GetOrderField ¶
func (x *QueryPageRequest) GetOrderField() string
func (*QueryPageRequest) GetPageIndex ¶
func (x *QueryPageRequest) GetPageIndex() int64
func (*QueryPageRequest) GetPageSize ¶
func (x *QueryPageRequest) GetPageSize() int64
func (*QueryPageRequest) GetType ¶
func (x *QueryPageRequest) GetType() int32
func (*QueryPageRequest) ProtoMessage ¶
func (*QueryPageRequest) ProtoMessage()
func (*QueryPageRequest) ProtoReflect ¶
func (x *QueryPageRequest) ProtoReflect() protoreflect.Message
func (*QueryPageRequest) Reset ¶
func (x *QueryPageRequest) Reset()
func (*QueryPageRequest) String ¶
func (x *QueryPageRequest) String() string
type QueryPageResponse ¶
type QueryPageResponse struct { Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=curd.Code" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data []*PageInfo `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` Pages int64 `protobuf:"varint,4,opt,name=pages,proto3" json:"pages,omitempty"` Records int64 `protobuf:"varint,5,opt,name=records,proto3" json:"records,omitempty"` Total int64 `protobuf:"varint,6,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*QueryPageResponse) Descriptor
deprecated
func (*QueryPageResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryPageResponse.ProtoReflect.Descriptor instead.
func (*QueryPageResponse) GetCode ¶
func (x *QueryPageResponse) GetCode() Code
func (*QueryPageResponse) GetData ¶
func (x *QueryPageResponse) GetData() []*PageInfo
func (*QueryPageResponse) GetMessage ¶
func (x *QueryPageResponse) GetMessage() string
func (*QueryPageResponse) GetPages ¶
func (x *QueryPageResponse) GetPages() int64
func (*QueryPageResponse) GetRecords ¶
func (x *QueryPageResponse) GetRecords() int64
func (*QueryPageResponse) GetTotal ¶
func (x *QueryPageResponse) GetTotal() int64
func (*QueryPageResponse) ProtoMessage ¶
func (*QueryPageResponse) ProtoMessage()
func (*QueryPageResponse) ProtoReflect ¶
func (x *QueryPageResponse) ProtoReflect() protoreflect.Message
func (*QueryPageResponse) Reset ¶
func (x *QueryPageResponse) Reset()
func (*QueryPageResponse) String ¶
func (x *QueryPageResponse) String() string
type UnimplementedMetadataServer ¶
type UnimplementedMetadataServer struct {
// contains filtered or unexported fields
}
UnimplementedMetadataServer must be embedded to have forward compatible implementations.
func (UnimplementedMetadataServer) Add ¶
func (UnimplementedMetadataServer) Add(context.Context, *MetadataInfo) (*CommonResponse, error)
func (UnimplementedMetadataServer) Copy ¶
func (UnimplementedMetadataServer) Copy(context.Context, *GetDetailRequest) (*CommonResponse, error)
func (UnimplementedMetadataServer) Delete ¶
func (UnimplementedMetadataServer) Delete(context.Context, *DelRequest) (*CommonResponse, error)
func (UnimplementedMetadataServer) GetAll ¶
func (UnimplementedMetadataServer) GetAll(context.Context, *GetAllRequest) (*GetAllMetadataResponse, error)
func (UnimplementedMetadataServer) GetDetail ¶
func (UnimplementedMetadataServer) GetDetail(context.Context, *GetDetailRequest) (*GetMetadataDetailResponse, error)
func (UnimplementedMetadataServer) Query ¶
func (UnimplementedMetadataServer) Query(context.Context, *QueryMetadataRequest) (*QueryMetadataResponse, error)
func (UnimplementedMetadataServer) Update ¶
func (UnimplementedMetadataServer) Update(context.Context, *MetadataInfo) (*CommonResponse, error)
func (*UnimplementedMetadataServer) XXX_GetProxyImpl ¶
func (s *UnimplementedMetadataServer) XXX_GetProxyImpl() protocol.Invoker
func (*UnimplementedMetadataServer) XXX_InterfaceName ¶ added in v1.0.3
func (s *UnimplementedMetadataServer) XXX_InterfaceName() string
func (*UnimplementedMetadataServer) XXX_ServiceDesc ¶
func (s *UnimplementedMetadataServer) XXX_ServiceDesc() *grpc_go.ServiceDesc
func (*UnimplementedMetadataServer) XXX_SetProxyImpl ¶
func (s *UnimplementedMetadataServer) XXX_SetProxyImpl(impl protocol.Invoker)
type UnimplementedPageServer ¶
type UnimplementedPageServer struct {
// contains filtered or unexported fields
}
UnimplementedPageServer must be embedded to have forward compatible implementations.
func (UnimplementedPageServer) Add ¶
func (UnimplementedPageServer) Add(context.Context, *PageInfo) (*CommonResponse, error)
func (UnimplementedPageServer) Copy ¶
func (UnimplementedPageServer) Copy(context.Context, *GetDetailRequest) (*CommonResponse, error)
func (UnimplementedPageServer) Delete ¶
func (UnimplementedPageServer) Delete(context.Context, *DelRequest) (*CommonResponse, error)
func (UnimplementedPageServer) Enable ¶
func (UnimplementedPageServer) Enable(context.Context, *EnableRequest) (*CommonResponse, error)
func (UnimplementedPageServer) GetAll ¶
func (UnimplementedPageServer) GetAll(context.Context, *GetAllRequest) (*GetAllPageResponse, error)
func (UnimplementedPageServer) GetDetail ¶
func (UnimplementedPageServer) GetDetail(context.Context, *GetDetailRequest) (*GetPageDetailResponse, error)
func (UnimplementedPageServer) Query ¶
func (UnimplementedPageServer) Query(context.Context, *QueryPageRequest) (*QueryPageResponse, error)
func (UnimplementedPageServer) Update ¶
func (UnimplementedPageServer) Update(context.Context, *PageInfo) (*CommonResponse, error)
func (*UnimplementedPageServer) XXX_GetProxyImpl ¶
func (s *UnimplementedPageServer) XXX_GetProxyImpl() protocol.Invoker
func (*UnimplementedPageServer) XXX_InterfaceName ¶ added in v1.0.3
func (s *UnimplementedPageServer) XXX_InterfaceName() string
func (*UnimplementedPageServer) XXX_ServiceDesc ¶
func (s *UnimplementedPageServer) XXX_ServiceDesc() *grpc_go.ServiceDesc
func (*UnimplementedPageServer) XXX_SetProxyImpl ¶
func (s *UnimplementedPageServer) XXX_SetProxyImpl(impl protocol.Invoker)
type UnsafeMetadataServer ¶
type UnsafeMetadataServer interface {
// contains filtered or unexported methods
}
UnsafeMetadataServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MetadataServer will result in compilation errors.
type UnsafePageServer ¶
type UnsafePageServer interface {
// contains filtered or unexported methods
}
UnsafePageServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PageServer will result in compilation errors.