curd

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2021 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
var File_curd_common_proto protoreflect.FileDescriptor
View Source
var File_metadata_proto protoreflect.FileDescriptor
View Source
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)

View Source
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) Enum

func (x Code) Enum() *Code

func (Code) EnumDescriptor deprecated

func (Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use Code.Descriptor instead.

func (Code) Number

func (x Code) Number() protoreflect.EnumNumber

func (Code) String

func (x Code) String() string

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 (*GetMetadataDetailResponse) GetMessage

func (x *GetMetadataDetailResponse) GetMessage() string

func (*GetMetadataDetailResponse) ProtoMessage

func (*GetMetadataDetailResponse) ProtoMessage()

func (*GetMetadataDetailResponse) ProtoReflect

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 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

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 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) Descriptor() ([]byte, []int)

Deprecated: Use PageField.ProtoReflect.Descriptor instead.

func (*PageField) GetComponent

func (x *PageField) GetComponent() string

func (*PageField) GetComponentProps

func (x *PageField) GetComponentProps() string

func (*PageField) GetCopyable

func (x *PageField) GetCopyable() bool

func (*PageField) GetDataType

func (x *PageField) GetDataType() string

func (*PageField) GetEllipsis

func (x *PageField) GetEllipsis() bool

func (*PageField) GetId

func (x *PageField) GetId() string

func (*PageField) GetLabelField

func (x *PageField) GetLabelField() string

func (*PageField) GetName

func (x *PageField) GetName() string

func (*PageField) GetPageID

func (x *PageField) GetPageID() string

func (*PageField) GetRowKey

func (x *PageField) GetRowKey() bool

func (*PageField) GetShowInTable

func (x *PageField) GetShowInTable() bool

func (*PageField) GetSort

func (x *PageField) GetSort() int32

func (*PageField) GetTitle

func (x *PageField) GetTitle() string

func (*PageField) GetValueEnum

func (x *PageField) GetValueEnum() string

func (*PageField) GetValueField

func (x *PageField) GetValueField() string

func (*PageField) ProtoMessage

func (*PageField) ProtoMessage()

func (*PageField) ProtoReflect

func (x *PageField) ProtoReflect() protoreflect.Message

func (*PageField) Reset

func (x *PageField) Reset()

func (*PageField) String

func (x *PageField) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use PageInfo.ProtoReflect.Descriptor instead.

func (*PageInfo) GetAddFormID

func (x *PageInfo) GetAddFormID() string

func (*PageInfo) GetButtons

func (x *PageInfo) GetButtons() []*PageButton

func (*PageInfo) GetCardAvatarField

func (x *PageInfo) GetCardAvatarField() string

func (*PageInfo) GetCardContentField

func (x *PageInfo) GetCardContentField() string

func (*PageInfo) GetCardDescriptionField

func (x *PageInfo) GetCardDescriptionField() string

func (*PageInfo) GetCardImageField

func (x *PageInfo) GetCardImageField() string

func (*PageInfo) GetCardLoadType

func (x *PageInfo) GetCardLoadType() int32

func (*PageInfo) GetCardTitleField

func (x *PageInfo) GetCardTitleField() string

func (*PageInfo) GetCreatedAt

func (x *PageInfo) GetCreatedAt() int64

func (*PageInfo) GetDescription

func (x *PageInfo) GetDescription() string

func (*PageInfo) GetEditFormID

func (x *PageInfo) GetEditFormID() string

func (*PageInfo) GetEditable

func (x *PageInfo) GetEditable() string

func (*PageInfo) GetEnable

func (x *PageInfo) GetEnable() bool

func (*PageInfo) GetFields

func (x *PageInfo) GetFields() []*PageField

func (*PageInfo) GetId

func (x *PageInfo) GetId() string

func (*PageInfo) GetListAvatarField

func (x *PageInfo) GetListAvatarField() string

func (*PageInfo) GetListContentField

func (x *PageInfo) GetListContentField() string

func (*PageInfo) GetListDescriptionField

func (x *PageInfo) GetListDescriptionField() string

func (*PageInfo) GetListLoadType

func (x *PageInfo) GetListLoadType() int32

func (*PageInfo) GetListTitleField

func (x *PageInfo) GetListTitleField() string

func (*PageInfo) GetLoadDetailAfter

func (x *PageInfo) GetLoadDetailAfter() string

func (*PageInfo) GetLoadDetailBefore

func (x *PageInfo) GetLoadDetailBefore() string

func (*PageInfo) GetMetadataID

func (x *PageInfo) GetMetadataID() string

func (*PageInfo) GetName

func (x *PageInfo) GetName() string

func (*PageInfo) GetPageSize

func (x *PageInfo) GetPageSize() uint32

func (*PageInfo) GetPath

func (x *PageInfo) GetPath() string

func (*PageInfo) GetQueryAfter

func (x *PageInfo) GetQueryAfter() string

func (*PageInfo) GetQueryBefore

func (x *PageInfo) GetQueryBefore() string

func (*PageInfo) GetSearchDefaultValue

func (x *PageInfo) GetSearchDefaultValue() string

func (*PageInfo) GetSearchFormID

func (x *PageInfo) GetSearchFormID() string

func (*PageInfo) GetShowIndex

func (x *PageInfo) GetShowIndex() bool

func (*PageInfo) GetShowSelection

func (x *PageInfo) GetShowSelection() bool

func (*PageInfo) GetSubmitAfter

func (x *PageInfo) GetSubmitAfter() string

func (*PageInfo) GetSubmitBefore

func (x *PageInfo) GetSubmitBefore() string

func (*PageInfo) GetTitle

func (x *PageInfo) GetTitle() string

func (*PageInfo) GetToolBar

func (x *PageInfo) GetToolBar() *PageToolBar

func (*PageInfo) GetType

func (x *PageInfo) GetType() int32

func (*PageInfo) GetUpdatedAt

func (x *PageInfo) GetUpdatedAt() int64

func (*PageInfo) GetViewFormID

func (x *PageInfo) GetViewFormID() string

func (*PageInfo) ProtoMessage

func (*PageInfo) ProtoMessage()

func (*PageInfo) ProtoReflect

func (x *PageInfo) ProtoReflect() protoreflect.Message

func (*PageInfo) Reset

func (x *PageInfo) Reset()

func (*PageInfo) String

func (x *PageInfo) String() string

type PageServer

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) Copy

func (UnimplementedMetadataServer) Delete

func (UnimplementedMetadataServer) GetAll

func (UnimplementedMetadataServer) GetDetail

func (UnimplementedMetadataServer) Query

func (UnimplementedMetadataServer) Update

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) Copy

func (UnimplementedPageServer) Delete

func (UnimplementedPageServer) Enable

func (UnimplementedPageServer) GetAll

func (UnimplementedPageServer) GetDetail

func (UnimplementedPageServer) Query

func (UnimplementedPageServer) Update

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL