Versions in this module Expand all Collapse all v1 v1.0.9 May 6, 2024 v1.0.8 May 3, 2024 Changes in this version + const OperationServiceAddExport + const OperationServiceAddExportExcel + const OperationServiceDeleteExport + const OperationServicePageExport + const Service_AddExportExcel_FullMethodName + const Service_AddExport_FullMethodName + const Service_DeleteExport_FullMethodName + const Service_PageExport_FullMethodName + var File_resource_export_proto protoreflect.FileDescriptor + var File_resource_export_service_proto protoreflect.FileDescriptor + var Service_ServiceDesc = grpc.ServiceDesc + func RegisterServiceHTTPServer(s *http.Server, srv ServiceHTTPServer) + func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer) + type AddExportExcelReply struct + Id uint32 + func (*AddExportExcelReply) Descriptor() ([]byte, []int) + func (*AddExportExcelReply) ProtoMessage() + func (m *AddExportExcelReply) Validate() error + func (m *AddExportExcelReply) ValidateAll() error + func (x *AddExportExcelReply) GetId() uint32 + func (x *AddExportExcelReply) ProtoReflect() protoreflect.Message + func (x *AddExportExcelReply) Reset() + func (x *AddExportExcelReply) String() string + type AddExportExcelReplyMultiError []error + func (m AddExportExcelReplyMultiError) AllErrors() []error + func (m AddExportExcelReplyMultiError) Error() string + type AddExportExcelReplyValidationError struct + func (e AddExportExcelReplyValidationError) Cause() error + func (e AddExportExcelReplyValidationError) Error() string + func (e AddExportExcelReplyValidationError) ErrorName() string + func (e AddExportExcelReplyValidationError) Field() string + func (e AddExportExcelReplyValidationError) Key() bool + func (e AddExportExcelReplyValidationError) Reason() string + type AddExportExcelRequest struct + Name string + Rows []*AddExportExcelRequest_Row + func (*AddExportExcelRequest) Descriptor() ([]byte, []int) + func (*AddExportExcelRequest) ProtoMessage() + func (m *AddExportExcelRequest) Validate() error + func (m *AddExportExcelRequest) ValidateAll() error + func (x *AddExportExcelRequest) GetName() string + func (x *AddExportExcelRequest) GetRows() []*AddExportExcelRequest_Row + func (x *AddExportExcelRequest) ProtoReflect() protoreflect.Message + func (x *AddExportExcelRequest) Reset() + func (x *AddExportExcelRequest) String() string + type AddExportExcelRequestMultiError []error + func (m AddExportExcelRequestMultiError) AllErrors() []error + func (m AddExportExcelRequestMultiError) Error() string + type AddExportExcelRequestValidationError struct + func (e AddExportExcelRequestValidationError) Cause() error + func (e AddExportExcelRequestValidationError) Error() string + func (e AddExportExcelRequestValidationError) ErrorName() string + func (e AddExportExcelRequestValidationError) Field() string + func (e AddExportExcelRequestValidationError) Key() bool + func (e AddExportExcelRequestValidationError) Reason() string + type AddExportExcelRequest_Col struct + Type string + Value string + func (*AddExportExcelRequest_Col) Descriptor() ([]byte, []int) + func (*AddExportExcelRequest_Col) ProtoMessage() + func (m *AddExportExcelRequest_Col) Validate() error + func (m *AddExportExcelRequest_Col) ValidateAll() error + func (x *AddExportExcelRequest_Col) GetType() string + func (x *AddExportExcelRequest_Col) GetValue() string + func (x *AddExportExcelRequest_Col) ProtoReflect() protoreflect.Message + func (x *AddExportExcelRequest_Col) Reset() + func (x *AddExportExcelRequest_Col) String() string + type AddExportExcelRequest_ColMultiError []error + func (m AddExportExcelRequest_ColMultiError) AllErrors() []error + func (m AddExportExcelRequest_ColMultiError) Error() string + type AddExportExcelRequest_ColValidationError struct + func (e AddExportExcelRequest_ColValidationError) Cause() error + func (e AddExportExcelRequest_ColValidationError) Error() string + func (e AddExportExcelRequest_ColValidationError) ErrorName() string + func (e AddExportExcelRequest_ColValidationError) Field() string + func (e AddExportExcelRequest_ColValidationError) Key() bool + func (e AddExportExcelRequest_ColValidationError) Reason() string + type AddExportExcelRequest_Row struct + Cols []*AddExportExcelRequest_Col + func (*AddExportExcelRequest_Row) Descriptor() ([]byte, []int) + func (*AddExportExcelRequest_Row) ProtoMessage() + func (m *AddExportExcelRequest_Row) Validate() error + func (m *AddExportExcelRequest_Row) ValidateAll() error + func (x *AddExportExcelRequest_Row) GetCols() []*AddExportExcelRequest_Col + func (x *AddExportExcelRequest_Row) ProtoReflect() protoreflect.Message + func (x *AddExportExcelRequest_Row) Reset() + func (x *AddExportExcelRequest_Row) String() string + type AddExportExcelRequest_RowMultiError []error + func (m AddExportExcelRequest_RowMultiError) AllErrors() []error + func (m AddExportExcelRequest_RowMultiError) Error() string + type AddExportExcelRequest_RowValidationError struct + func (e AddExportExcelRequest_RowValidationError) Cause() error + func (e AddExportExcelRequest_RowValidationError) Error() string + func (e AddExportExcelRequest_RowValidationError) ErrorName() string + func (e AddExportExcelRequest_RowValidationError) Field() string + func (e AddExportExcelRequest_RowValidationError) Key() bool + func (e AddExportExcelRequest_RowValidationError) Reason() string + type AddExportReply struct + Id uint32 + func (*AddExportReply) Descriptor() ([]byte, []int) + func (*AddExportReply) ProtoMessage() + func (m *AddExportReply) Validate() error + func (m *AddExportReply) ValidateAll() error + func (x *AddExportReply) GetId() uint32 + func (x *AddExportReply) ProtoReflect() protoreflect.Message + func (x *AddExportReply) Reset() + func (x *AddExportReply) String() string + type AddExportReplyMultiError []error + func (m AddExportReplyMultiError) AllErrors() []error + func (m AddExportReplyMultiError) Error() string + type AddExportReplyValidationError struct + func (e AddExportReplyValidationError) Cause() error + func (e AddExportReplyValidationError) Error() string + func (e AddExportReplyValidationError) ErrorName() string + func (e AddExportReplyValidationError) Field() string + func (e AddExportReplyValidationError) Key() bool + func (e AddExportReplyValidationError) Reason() string + type AddExportRequest struct + Files []*AddExportRequest_ExportFile + Ids []uint32 + Name string + func (*AddExportRequest) Descriptor() ([]byte, []int) + func (*AddExportRequest) ProtoMessage() + func (m *AddExportRequest) Validate() error + func (m *AddExportRequest) ValidateAll() error + func (x *AddExportRequest) GetFiles() []*AddExportRequest_ExportFile + func (x *AddExportRequest) GetIds() []uint32 + func (x *AddExportRequest) GetName() string + func (x *AddExportRequest) ProtoReflect() protoreflect.Message + func (x *AddExportRequest) Reset() + func (x *AddExportRequest) String() string + type AddExportRequestMultiError []error + func (m AddExportRequestMultiError) AllErrors() []error + func (m AddExportRequestMultiError) Error() string + type AddExportRequestValidationError struct + func (e AddExportRequestValidationError) Cause() error + func (e AddExportRequestValidationError) Error() string + func (e AddExportRequestValidationError) ErrorName() string + func (e AddExportRequestValidationError) Field() string + func (e AddExportRequestValidationError) Key() bool + func (e AddExportRequestValidationError) Reason() string + type AddExportRequest_ExportFile struct + Rename string + Sha string + func (*AddExportRequest_ExportFile) Descriptor() ([]byte, []int) + func (*AddExportRequest_ExportFile) ProtoMessage() + func (m *AddExportRequest_ExportFile) Validate() error + func (m *AddExportRequest_ExportFile) ValidateAll() error + func (x *AddExportRequest_ExportFile) GetRename() string + func (x *AddExportRequest_ExportFile) GetSha() string + func (x *AddExportRequest_ExportFile) ProtoReflect() protoreflect.Message + func (x *AddExportRequest_ExportFile) Reset() + func (x *AddExportRequest_ExportFile) String() string + type AddExportRequest_ExportFileMultiError []error + func (m AddExportRequest_ExportFileMultiError) AllErrors() []error + func (m AddExportRequest_ExportFileMultiError) Error() string + type AddExportRequest_ExportFileValidationError struct + func (e AddExportRequest_ExportFileValidationError) Cause() error + func (e AddExportRequest_ExportFileValidationError) Error() string + func (e AddExportRequest_ExportFileValidationError) ErrorName() string + func (e AddExportRequest_ExportFileValidationError) Field() string + func (e AddExportRequest_ExportFileValidationError) Key() bool + func (e AddExportRequest_ExportFileValidationError) Reason() string + type DeleteExportRequest struct + Id uint32 + func (*DeleteExportRequest) Descriptor() ([]byte, []int) + func (*DeleteExportRequest) ProtoMessage() + func (m *DeleteExportRequest) Validate() error + func (m *DeleteExportRequest) ValidateAll() error + func (x *DeleteExportRequest) GetId() uint32 + func (x *DeleteExportRequest) ProtoReflect() protoreflect.Message + func (x *DeleteExportRequest) Reset() + func (x *DeleteExportRequest) String() string + type DeleteExportRequestMultiError []error + func (m DeleteExportRequestMultiError) AllErrors() []error + func (m DeleteExportRequestMultiError) Error() string + type DeleteExportRequestValidationError struct + func (e DeleteExportRequestValidationError) Cause() error + func (e DeleteExportRequestValidationError) Error() string + func (e DeleteExportRequestValidationError) ErrorName() string + func (e DeleteExportRequestValidationError) Field() string + func (e DeleteExportRequestValidationError) Key() bool + func (e DeleteExportRequestValidationError) Reason() string + type Export struct + CreatedAt uint32 + Id uint32 + Name string + Reason string + Size uint32 + Src string + Status string + UpdatedAt uint32 + Version string + func (*Export) Descriptor() ([]byte, []int) + func (*Export) ProtoMessage() + func (m *Export) Validate() error + func (m *Export) ValidateAll() error + func (x *Export) GetCreatedAt() uint32 + func (x *Export) GetId() uint32 + func (x *Export) GetName() string + func (x *Export) GetReason() string + func (x *Export) GetSize() uint32 + func (x *Export) GetSrc() string + func (x *Export) GetStatus() string + func (x *Export) GetUpdatedAt() uint32 + func (x *Export) GetVersion() string + func (x *Export) ProtoReflect() protoreflect.Message + func (x *Export) Reset() + func (x *Export) String() string + type ExportMultiError []error + func (m ExportMultiError) AllErrors() []error + func (m ExportMultiError) Error() string + type ExportValidationError struct + func (e ExportValidationError) Cause() error + func (e ExportValidationError) Error() string + func (e ExportValidationError) ErrorName() string + func (e ExportValidationError) Field() string + func (e ExportValidationError) Key() bool + func (e ExportValidationError) Reason() string + type PageExportReply struct + List []*Export + Total *uint32 + func (*PageExportReply) Descriptor() ([]byte, []int) + func (*PageExportReply) ProtoMessage() + func (m *PageExportReply) Validate() error + func (m *PageExportReply) ValidateAll() error + func (x *PageExportReply) GetList() []*Export + func (x *PageExportReply) GetTotal() uint32 + func (x *PageExportReply) ProtoReflect() protoreflect.Message + func (x *PageExportReply) Reset() + func (x *PageExportReply) String() string + type PageExportReplyMultiError []error + func (m PageExportReplyMultiError) AllErrors() []error + func (m PageExportReplyMultiError) Error() string + type PageExportReplyValidationError struct + func (e PageExportReplyValidationError) Cause() error + func (e PageExportReplyValidationError) Error() string + func (e PageExportReplyValidationError) ErrorName() string + func (e PageExportReplyValidationError) Field() string + func (e PageExportReplyValidationError) Key() bool + func (e PageExportReplyValidationError) Reason() string + type PageExportRequest struct + Page uint32 + PageSize uint32 + func (*PageExportRequest) Descriptor() ([]byte, []int) + func (*PageExportRequest) ProtoMessage() + func (m *PageExportRequest) Validate() error + func (m *PageExportRequest) ValidateAll() error + func (x *PageExportRequest) GetPage() uint32 + func (x *PageExportRequest) GetPageSize() uint32 + func (x *PageExportRequest) ProtoReflect() protoreflect.Message + func (x *PageExportRequest) Reset() + func (x *PageExportRequest) String() string + type PageExportRequestMultiError []error + func (m PageExportRequestMultiError) AllErrors() []error + func (m PageExportRequestMultiError) Error() string + type PageExportRequestValidationError struct + func (e PageExportRequestValidationError) Cause() error + func (e PageExportRequestValidationError) Error() string + func (e PageExportRequestValidationError) ErrorName() string + func (e PageExportRequestValidationError) Field() string + func (e PageExportRequestValidationError) Key() bool + func (e PageExportRequestValidationError) Reason() string + type ServiceClient interface + AddExport func(ctx context.Context, in *AddExportRequest, opts ...grpc.CallOption) (*AddExportReply, error) + AddExportExcel func(ctx context.Context, in *AddExportExcelRequest, opts ...grpc.CallOption) (*AddExportExcelReply, error) + DeleteExport func(ctx context.Context, in *DeleteExportRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + PageExport func(ctx context.Context, in *PageExportRequest, opts ...grpc.CallOption) (*PageExportReply, error) + func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient + type ServiceHTTPClient interface + AddExport func(ctx context.Context, req *AddExportRequest, opts ...http.CallOption) (rsp *AddExportReply, err error) + AddExportExcel func(ctx context.Context, req *AddExportExcelRequest, opts ...http.CallOption) (rsp *AddExportExcelReply, err error) + DeleteExport func(ctx context.Context, req *DeleteExportRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + PageExport func(ctx context.Context, req *PageExportRequest, opts ...http.CallOption) (rsp *PageExportReply, err error) + func NewServiceHTTPClient(client *http.Client) ServiceHTTPClient + type ServiceHTTPClientImpl struct + func (c *ServiceHTTPClientImpl) AddExport(ctx context.Context, in *AddExportRequest, opts ...http.CallOption) (*AddExportReply, error) + func (c *ServiceHTTPClientImpl) AddExportExcel(ctx context.Context, in *AddExportExcelRequest, opts ...http.CallOption) (*AddExportExcelReply, error) + func (c *ServiceHTTPClientImpl) DeleteExport(ctx context.Context, in *DeleteExportRequest, opts ...http.CallOption) (*emptypb.Empty, error) + func (c *ServiceHTTPClientImpl) PageExport(ctx context.Context, in *PageExportRequest, opts ...http.CallOption) (*PageExportReply, error) + type ServiceHTTPServer interface + AddExport func(context.Context, *AddExportRequest) (*AddExportReply, error) + AddExportExcel func(context.Context, *AddExportExcelRequest) (*AddExportExcelReply, error) + DeleteExport func(context.Context, *DeleteExportRequest) (*emptypb.Empty, error) + PageExport func(context.Context, *PageExportRequest) (*PageExportReply, error) + type ServiceServer interface + AddExport func(context.Context, *AddExportRequest) (*AddExportReply, error) + AddExportExcel func(context.Context, *AddExportExcelRequest) (*AddExportExcelReply, error) + DeleteExport func(context.Context, *DeleteExportRequest) (*emptypb.Empty, error) + PageExport func(context.Context, *PageExportRequest) (*PageExportReply, error) + type UnimplementedServiceServer struct + func (UnimplementedServiceServer) AddExport(context.Context, *AddExportRequest) (*AddExportReply, error) + func (UnimplementedServiceServer) AddExportExcel(context.Context, *AddExportExcelRequest) (*AddExportExcelReply, error) + func (UnimplementedServiceServer) DeleteExport(context.Context, *DeleteExportRequest) (*emptypb.Empty, error) + func (UnimplementedServiceServer) PageExport(context.Context, *PageExportRequest) (*PageExportReply, error) + type UnsafeServiceServer interface