Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterServiceHTTPServer(s *http.Server, srv ServiceHTTPServer)
- func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
- type AddExportExcelReply
- func (*AddExportExcelReply) Descriptor() ([]byte, []int)deprecated
- func (x *AddExportExcelReply) GetId() uint32
- func (*AddExportExcelReply) ProtoMessage()
- func (x *AddExportExcelReply) ProtoReflect() protoreflect.Message
- func (x *AddExportExcelReply) Reset()
- func (x *AddExportExcelReply) String() string
- func (m *AddExportExcelReply) Validate() error
- func (m *AddExportExcelReply) ValidateAll() error
- type AddExportExcelReplyMultiError
- type AddExportExcelReplyValidationError
- 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
- func (*AddExportExcelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddExportExcelRequest) GetName() string
- func (x *AddExportExcelRequest) GetRows() []*AddExportExcelRequest_Row
- func (*AddExportExcelRequest) ProtoMessage()
- func (x *AddExportExcelRequest) ProtoReflect() protoreflect.Message
- func (x *AddExportExcelRequest) Reset()
- func (x *AddExportExcelRequest) String() string
- func (m *AddExportExcelRequest) Validate() error
- func (m *AddExportExcelRequest) ValidateAll() error
- type AddExportExcelRequestMultiError
- type AddExportExcelRequestValidationError
- 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
- func (*AddExportExcelRequest_Col) Descriptor() ([]byte, []int)deprecated
- func (x *AddExportExcelRequest_Col) GetType() string
- func (x *AddExportExcelRequest_Col) GetValue() string
- func (*AddExportExcelRequest_Col) ProtoMessage()
- func (x *AddExportExcelRequest_Col) ProtoReflect() protoreflect.Message
- func (x *AddExportExcelRequest_Col) Reset()
- func (x *AddExportExcelRequest_Col) String() string
- func (m *AddExportExcelRequest_Col) Validate() error
- func (m *AddExportExcelRequest_Col) ValidateAll() error
- type AddExportExcelRequest_ColMultiError
- type AddExportExcelRequest_ColValidationError
- 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
- func (*AddExportExcelRequest_Row) Descriptor() ([]byte, []int)deprecated
- func (x *AddExportExcelRequest_Row) GetCols() []*AddExportExcelRequest_Col
- func (*AddExportExcelRequest_Row) ProtoMessage()
- func (x *AddExportExcelRequest_Row) ProtoReflect() protoreflect.Message
- func (x *AddExportExcelRequest_Row) Reset()
- func (x *AddExportExcelRequest_Row) String() string
- func (m *AddExportExcelRequest_Row) Validate() error
- func (m *AddExportExcelRequest_Row) ValidateAll() error
- type AddExportExcelRequest_RowMultiError
- type AddExportExcelRequest_RowValidationError
- 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
- func (*AddExportReply) Descriptor() ([]byte, []int)deprecated
- func (x *AddExportReply) GetId() uint32
- func (*AddExportReply) ProtoMessage()
- func (x *AddExportReply) ProtoReflect() protoreflect.Message
- func (x *AddExportReply) Reset()
- func (x *AddExportReply) String() string
- func (m *AddExportReply) Validate() error
- func (m *AddExportReply) ValidateAll() error
- type AddExportReplyMultiError
- type AddExportReplyValidationError
- 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
- func (*AddExportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddExportRequest) GetFiles() []*AddExportRequest_ExportFile
- func (x *AddExportRequest) GetIds() []uint32
- func (x *AddExportRequest) GetName() string
- func (*AddExportRequest) ProtoMessage()
- func (x *AddExportRequest) ProtoReflect() protoreflect.Message
- func (x *AddExportRequest) Reset()
- func (x *AddExportRequest) String() string
- func (m *AddExportRequest) Validate() error
- func (m *AddExportRequest) ValidateAll() error
- type AddExportRequestMultiError
- type AddExportRequestValidationError
- 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
- func (*AddExportRequest_ExportFile) Descriptor() ([]byte, []int)deprecated
- func (x *AddExportRequest_ExportFile) GetRename() string
- func (x *AddExportRequest_ExportFile) GetSha() string
- func (*AddExportRequest_ExportFile) ProtoMessage()
- func (x *AddExportRequest_ExportFile) ProtoReflect() protoreflect.Message
- func (x *AddExportRequest_ExportFile) Reset()
- func (x *AddExportRequest_ExportFile) String() string
- func (m *AddExportRequest_ExportFile) Validate() error
- func (m *AddExportRequest_ExportFile) ValidateAll() error
- type AddExportRequest_ExportFileMultiError
- type AddExportRequest_ExportFileValidationError
- 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
- func (*DeleteExportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteExportRequest) GetId() uint32
- func (*DeleteExportRequest) ProtoMessage()
- func (x *DeleteExportRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteExportRequest) Reset()
- func (x *DeleteExportRequest) String() string
- func (m *DeleteExportRequest) Validate() error
- func (m *DeleteExportRequest) ValidateAll() error
- type DeleteExportRequestMultiError
- type DeleteExportRequestValidationError
- 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
- func (*Export) Descriptor() ([]byte, []int)deprecated
- 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 (*Export) ProtoMessage()
- func (x *Export) ProtoReflect() protoreflect.Message
- func (x *Export) Reset()
- func (x *Export) String() string
- func (m *Export) Validate() error
- func (m *Export) ValidateAll() error
- type ExportMultiError
- type ExportValidationError
- type PageExportReply
- func (*PageExportReply) Descriptor() ([]byte, []int)deprecated
- func (x *PageExportReply) GetList() []*Export
- func (x *PageExportReply) GetTotal() uint32
- func (*PageExportReply) ProtoMessage()
- func (x *PageExportReply) ProtoReflect() protoreflect.Message
- func (x *PageExportReply) Reset()
- func (x *PageExportReply) String() string
- func (m *PageExportReply) Validate() error
- func (m *PageExportReply) ValidateAll() error
- type PageExportReplyMultiError
- type PageExportReplyValidationError
- 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
- func (*PageExportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PageExportRequest) GetPage() uint32
- func (x *PageExportRequest) GetPageSize() uint32
- func (*PageExportRequest) ProtoMessage()
- func (x *PageExportRequest) ProtoReflect() protoreflect.Message
- func (x *PageExportRequest) Reset()
- func (x *PageExportRequest) String() string
- func (m *PageExportRequest) Validate() error
- func (m *PageExportRequest) ValidateAll() error
- type PageExportRequestMultiError
- type PageExportRequestValidationError
- 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
- type ServiceHTTPClient
- type ServiceHTTPClientImpl
- 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
- type ServiceServer
- type UnimplementedServiceServer
- 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
Constants ¶
const ( Service_PageExport_FullMethodName = "/export.Service/PageExport" Service_AddExport_FullMethodName = "/export.Service/AddExport" Service_AddExportExcel_FullMethodName = "/export.Service/AddExportExcel" Service_DeleteExport_FullMethodName = "/export.Service/DeleteExport" )
const OperationServiceAddExport = "/export.Service/AddExport"
const OperationServiceAddExportExcel = "/export.Service/AddExportExcel"
const OperationServiceDeleteExport = "/export.Service/DeleteExport"
const OperationServicePageExport = "/export.Service/PageExport"
Variables ¶
var File_resource_export_proto protoreflect.FileDescriptor
var File_resource_export_service_proto protoreflect.FileDescriptor
var Service_ServiceDesc = grpc.ServiceDesc{ ServiceName: "export.Service", HandlerType: (*ServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PageExport", Handler: _Service_PageExport_Handler, }, { MethodName: "AddExport", Handler: _Service_AddExport_Handler, }, { MethodName: "AddExportExcel", Handler: _Service_AddExportExcel_Handler, }, { MethodName: "DeleteExport", Handler: _Service_DeleteExport_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "resource_export_service.proto", }
Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterServiceHTTPServer ¶
func RegisterServiceHTTPServer(s *http.Server, srv ServiceHTTPServer)
func RegisterServiceServer ¶
func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
Types ¶
type AddExportExcelReply ¶
type AddExportExcelReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AddExportExcelReply) Descriptor
deprecated
func (*AddExportExcelReply) Descriptor() ([]byte, []int)
Deprecated: Use AddExportExcelReply.ProtoReflect.Descriptor instead.
func (*AddExportExcelReply) GetId ¶
func (x *AddExportExcelReply) GetId() uint32
func (*AddExportExcelReply) ProtoMessage ¶
func (*AddExportExcelReply) ProtoMessage()
func (*AddExportExcelReply) ProtoReflect ¶
func (x *AddExportExcelReply) ProtoReflect() protoreflect.Message
func (*AddExportExcelReply) Reset ¶
func (x *AddExportExcelReply) Reset()
func (*AddExportExcelReply) String ¶
func (x *AddExportExcelReply) String() string
func (*AddExportExcelReply) Validate ¶
func (m *AddExportExcelReply) Validate() error
Validate checks the field values on AddExportExcelReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddExportExcelReply) ValidateAll ¶
func (m *AddExportExcelReply) ValidateAll() error
ValidateAll checks the field values on AddExportExcelReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddExportExcelReplyMultiError, or nil if none found.
type AddExportExcelReplyMultiError ¶
type AddExportExcelReplyMultiError []error
AddExportExcelReplyMultiError is an error wrapping multiple validation errors returned by AddExportExcelReply.ValidateAll() if the designated constraints aren't met.
func (AddExportExcelReplyMultiError) AllErrors ¶
func (m AddExportExcelReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddExportExcelReplyMultiError) Error ¶
func (m AddExportExcelReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddExportExcelReplyValidationError ¶
type AddExportExcelReplyValidationError struct {
// contains filtered or unexported fields
}
AddExportExcelReplyValidationError is the validation error returned by AddExportExcelReply.Validate if the designated constraints aren't met.
func (AddExportExcelReplyValidationError) Cause ¶
func (e AddExportExcelReplyValidationError) Cause() error
Cause function returns cause value.
func (AddExportExcelReplyValidationError) Error ¶
func (e AddExportExcelReplyValidationError) Error() string
Error satisfies the builtin error interface
func (AddExportExcelReplyValidationError) ErrorName ¶
func (e AddExportExcelReplyValidationError) ErrorName() string
ErrorName returns error name.
func (AddExportExcelReplyValidationError) Field ¶
func (e AddExportExcelReplyValidationError) Field() string
Field function returns field value.
func (AddExportExcelReplyValidationError) Key ¶
func (e AddExportExcelReplyValidationError) Key() bool
Key function returns key value.
func (AddExportExcelReplyValidationError) Reason ¶
func (e AddExportExcelReplyValidationError) Reason() string
Reason function returns reason value.
type AddExportExcelRequest ¶
type AddExportExcelRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Rows []*AddExportExcelRequest_Row `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"` // contains filtered or unexported fields }
func (*AddExportExcelRequest) Descriptor
deprecated
func (*AddExportExcelRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddExportExcelRequest.ProtoReflect.Descriptor instead.
func (*AddExportExcelRequest) GetName ¶
func (x *AddExportExcelRequest) GetName() string
func (*AddExportExcelRequest) GetRows ¶
func (x *AddExportExcelRequest) GetRows() []*AddExportExcelRequest_Row
func (*AddExportExcelRequest) ProtoMessage ¶
func (*AddExportExcelRequest) ProtoMessage()
func (*AddExportExcelRequest) ProtoReflect ¶
func (x *AddExportExcelRequest) ProtoReflect() protoreflect.Message
func (*AddExportExcelRequest) Reset ¶
func (x *AddExportExcelRequest) Reset()
func (*AddExportExcelRequest) String ¶
func (x *AddExportExcelRequest) String() string
func (*AddExportExcelRequest) Validate ¶
func (m *AddExportExcelRequest) Validate() error
Validate checks the field values on AddExportExcelRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddExportExcelRequest) ValidateAll ¶
func (m *AddExportExcelRequest) ValidateAll() error
ValidateAll checks the field values on AddExportExcelRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddExportExcelRequestMultiError, or nil if none found.
type AddExportExcelRequestMultiError ¶
type AddExportExcelRequestMultiError []error
AddExportExcelRequestMultiError is an error wrapping multiple validation errors returned by AddExportExcelRequest.ValidateAll() if the designated constraints aren't met.
func (AddExportExcelRequestMultiError) AllErrors ¶
func (m AddExportExcelRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddExportExcelRequestMultiError) Error ¶
func (m AddExportExcelRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddExportExcelRequestValidationError ¶
type AddExportExcelRequestValidationError struct {
// contains filtered or unexported fields
}
AddExportExcelRequestValidationError is the validation error returned by AddExportExcelRequest.Validate if the designated constraints aren't met.
func (AddExportExcelRequestValidationError) Cause ¶
func (e AddExportExcelRequestValidationError) Cause() error
Cause function returns cause value.
func (AddExportExcelRequestValidationError) Error ¶
func (e AddExportExcelRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddExportExcelRequestValidationError) ErrorName ¶
func (e AddExportExcelRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddExportExcelRequestValidationError) Field ¶
func (e AddExportExcelRequestValidationError) Field() string
Field function returns field value.
func (AddExportExcelRequestValidationError) Key ¶
func (e AddExportExcelRequestValidationError) Key() bool
Key function returns key value.
func (AddExportExcelRequestValidationError) Reason ¶
func (e AddExportExcelRequestValidationError) Reason() string
Reason function returns reason value.
type AddExportExcelRequest_Col ¶
type AddExportExcelRequest_Col struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*AddExportExcelRequest_Col) Descriptor
deprecated
func (*AddExportExcelRequest_Col) Descriptor() ([]byte, []int)
Deprecated: Use AddExportExcelRequest_Col.ProtoReflect.Descriptor instead.
func (*AddExportExcelRequest_Col) GetType ¶
func (x *AddExportExcelRequest_Col) GetType() string
func (*AddExportExcelRequest_Col) GetValue ¶
func (x *AddExportExcelRequest_Col) GetValue() string
func (*AddExportExcelRequest_Col) ProtoMessage ¶
func (*AddExportExcelRequest_Col) ProtoMessage()
func (*AddExportExcelRequest_Col) ProtoReflect ¶
func (x *AddExportExcelRequest_Col) ProtoReflect() protoreflect.Message
func (*AddExportExcelRequest_Col) Reset ¶
func (x *AddExportExcelRequest_Col) Reset()
func (*AddExportExcelRequest_Col) String ¶
func (x *AddExportExcelRequest_Col) String() string
func (*AddExportExcelRequest_Col) Validate ¶
func (m *AddExportExcelRequest_Col) Validate() error
Validate checks the field values on AddExportExcelRequest_Col with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddExportExcelRequest_Col) ValidateAll ¶
func (m *AddExportExcelRequest_Col) ValidateAll() error
ValidateAll checks the field values on AddExportExcelRequest_Col with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddExportExcelRequest_ColMultiError, or nil if none found.
type AddExportExcelRequest_ColMultiError ¶
type AddExportExcelRequest_ColMultiError []error
AddExportExcelRequest_ColMultiError is an error wrapping multiple validation errors returned by AddExportExcelRequest_Col.ValidateAll() if the designated constraints aren't met.
func (AddExportExcelRequest_ColMultiError) AllErrors ¶
func (m AddExportExcelRequest_ColMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddExportExcelRequest_ColMultiError) Error ¶
func (m AddExportExcelRequest_ColMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddExportExcelRequest_ColValidationError ¶
type AddExportExcelRequest_ColValidationError struct {
// contains filtered or unexported fields
}
AddExportExcelRequest_ColValidationError is the validation error returned by AddExportExcelRequest_Col.Validate if the designated constraints aren't met.
func (AddExportExcelRequest_ColValidationError) Cause ¶
func (e AddExportExcelRequest_ColValidationError) Cause() error
Cause function returns cause value.
func (AddExportExcelRequest_ColValidationError) Error ¶
func (e AddExportExcelRequest_ColValidationError) Error() string
Error satisfies the builtin error interface
func (AddExportExcelRequest_ColValidationError) ErrorName ¶
func (e AddExportExcelRequest_ColValidationError) ErrorName() string
ErrorName returns error name.
func (AddExportExcelRequest_ColValidationError) Field ¶
func (e AddExportExcelRequest_ColValidationError) Field() string
Field function returns field value.
func (AddExportExcelRequest_ColValidationError) Key ¶
func (e AddExportExcelRequest_ColValidationError) Key() bool
Key function returns key value.
func (AddExportExcelRequest_ColValidationError) Reason ¶
func (e AddExportExcelRequest_ColValidationError) Reason() string
Reason function returns reason value.
type AddExportExcelRequest_Row ¶
type AddExportExcelRequest_Row struct { Cols []*AddExportExcelRequest_Col `protobuf:"bytes,1,rep,name=cols,proto3" json:"cols,omitempty"` // contains filtered or unexported fields }
func (*AddExportExcelRequest_Row) Descriptor
deprecated
func (*AddExportExcelRequest_Row) Descriptor() ([]byte, []int)
Deprecated: Use AddExportExcelRequest_Row.ProtoReflect.Descriptor instead.
func (*AddExportExcelRequest_Row) GetCols ¶
func (x *AddExportExcelRequest_Row) GetCols() []*AddExportExcelRequest_Col
func (*AddExportExcelRequest_Row) ProtoMessage ¶
func (*AddExportExcelRequest_Row) ProtoMessage()
func (*AddExportExcelRequest_Row) ProtoReflect ¶
func (x *AddExportExcelRequest_Row) ProtoReflect() protoreflect.Message
func (*AddExportExcelRequest_Row) Reset ¶
func (x *AddExportExcelRequest_Row) Reset()
func (*AddExportExcelRequest_Row) String ¶
func (x *AddExportExcelRequest_Row) String() string
func (*AddExportExcelRequest_Row) Validate ¶
func (m *AddExportExcelRequest_Row) Validate() error
Validate checks the field values on AddExportExcelRequest_Row with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddExportExcelRequest_Row) ValidateAll ¶
func (m *AddExportExcelRequest_Row) ValidateAll() error
ValidateAll checks the field values on AddExportExcelRequest_Row with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddExportExcelRequest_RowMultiError, or nil if none found.
type AddExportExcelRequest_RowMultiError ¶
type AddExportExcelRequest_RowMultiError []error
AddExportExcelRequest_RowMultiError is an error wrapping multiple validation errors returned by AddExportExcelRequest_Row.ValidateAll() if the designated constraints aren't met.
func (AddExportExcelRequest_RowMultiError) AllErrors ¶
func (m AddExportExcelRequest_RowMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddExportExcelRequest_RowMultiError) Error ¶
func (m AddExportExcelRequest_RowMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddExportExcelRequest_RowValidationError ¶
type AddExportExcelRequest_RowValidationError struct {
// contains filtered or unexported fields
}
AddExportExcelRequest_RowValidationError is the validation error returned by AddExportExcelRequest_Row.Validate if the designated constraints aren't met.
func (AddExportExcelRequest_RowValidationError) Cause ¶
func (e AddExportExcelRequest_RowValidationError) Cause() error
Cause function returns cause value.
func (AddExportExcelRequest_RowValidationError) Error ¶
func (e AddExportExcelRequest_RowValidationError) Error() string
Error satisfies the builtin error interface
func (AddExportExcelRequest_RowValidationError) ErrorName ¶
func (e AddExportExcelRequest_RowValidationError) ErrorName() string
ErrorName returns error name.
func (AddExportExcelRequest_RowValidationError) Field ¶
func (e AddExportExcelRequest_RowValidationError) Field() string
Field function returns field value.
func (AddExportExcelRequest_RowValidationError) Key ¶
func (e AddExportExcelRequest_RowValidationError) Key() bool
Key function returns key value.
func (AddExportExcelRequest_RowValidationError) Reason ¶
func (e AddExportExcelRequest_RowValidationError) Reason() string
Reason function returns reason value.
type AddExportReply ¶
type AddExportReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AddExportReply) Descriptor
deprecated
func (*AddExportReply) Descriptor() ([]byte, []int)
Deprecated: Use AddExportReply.ProtoReflect.Descriptor instead.
func (*AddExportReply) GetId ¶
func (x *AddExportReply) GetId() uint32
func (*AddExportReply) ProtoMessage ¶
func (*AddExportReply) ProtoMessage()
func (*AddExportReply) ProtoReflect ¶
func (x *AddExportReply) ProtoReflect() protoreflect.Message
func (*AddExportReply) Reset ¶
func (x *AddExportReply) Reset()
func (*AddExportReply) String ¶
func (x *AddExportReply) String() string
func (*AddExportReply) Validate ¶
func (m *AddExportReply) Validate() error
Validate checks the field values on AddExportReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddExportReply) ValidateAll ¶
func (m *AddExportReply) ValidateAll() error
ValidateAll checks the field values on AddExportReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddExportReplyMultiError, or nil if none found.
type AddExportReplyMultiError ¶
type AddExportReplyMultiError []error
AddExportReplyMultiError is an error wrapping multiple validation errors returned by AddExportReply.ValidateAll() if the designated constraints aren't met.
func (AddExportReplyMultiError) AllErrors ¶
func (m AddExportReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddExportReplyMultiError) Error ¶
func (m AddExportReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddExportReplyValidationError ¶
type AddExportReplyValidationError struct {
// contains filtered or unexported fields
}
AddExportReplyValidationError is the validation error returned by AddExportReply.Validate if the designated constraints aren't met.
func (AddExportReplyValidationError) Cause ¶
func (e AddExportReplyValidationError) Cause() error
Cause function returns cause value.
func (AddExportReplyValidationError) Error ¶
func (e AddExportReplyValidationError) Error() string
Error satisfies the builtin error interface
func (AddExportReplyValidationError) ErrorName ¶
func (e AddExportReplyValidationError) ErrorName() string
ErrorName returns error name.
func (AddExportReplyValidationError) Field ¶
func (e AddExportReplyValidationError) Field() string
Field function returns field value.
func (AddExportReplyValidationError) Key ¶
func (e AddExportReplyValidationError) Key() bool
Key function returns key value.
func (AddExportReplyValidationError) Reason ¶
func (e AddExportReplyValidationError) Reason() string
Reason function returns reason value.
type AddExportRequest ¶
type AddExportRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Files []*AddExportRequest_ExportFile `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"` Ids []uint32 `protobuf:"varint,3,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*AddExportRequest) Descriptor
deprecated
func (*AddExportRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddExportRequest.ProtoReflect.Descriptor instead.
func (*AddExportRequest) GetFiles ¶
func (x *AddExportRequest) GetFiles() []*AddExportRequest_ExportFile
func (*AddExportRequest) GetIds ¶
func (x *AddExportRequest) GetIds() []uint32
func (*AddExportRequest) GetName ¶
func (x *AddExportRequest) GetName() string
func (*AddExportRequest) ProtoMessage ¶
func (*AddExportRequest) ProtoMessage()
func (*AddExportRequest) ProtoReflect ¶
func (x *AddExportRequest) ProtoReflect() protoreflect.Message
func (*AddExportRequest) Reset ¶
func (x *AddExportRequest) Reset()
func (*AddExportRequest) String ¶
func (x *AddExportRequest) String() string
func (*AddExportRequest) Validate ¶
func (m *AddExportRequest) Validate() error
Validate checks the field values on AddExportRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddExportRequest) ValidateAll ¶
func (m *AddExportRequest) ValidateAll() error
ValidateAll checks the field values on AddExportRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddExportRequestMultiError, or nil if none found.
type AddExportRequestMultiError ¶
type AddExportRequestMultiError []error
AddExportRequestMultiError is an error wrapping multiple validation errors returned by AddExportRequest.ValidateAll() if the designated constraints aren't met.
func (AddExportRequestMultiError) AllErrors ¶
func (m AddExportRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddExportRequestMultiError) Error ¶
func (m AddExportRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddExportRequestValidationError ¶
type AddExportRequestValidationError struct {
// contains filtered or unexported fields
}
AddExportRequestValidationError is the validation error returned by AddExportRequest.Validate if the designated constraints aren't met.
func (AddExportRequestValidationError) Cause ¶
func (e AddExportRequestValidationError) Cause() error
Cause function returns cause value.
func (AddExportRequestValidationError) Error ¶
func (e AddExportRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddExportRequestValidationError) ErrorName ¶
func (e AddExportRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddExportRequestValidationError) Field ¶
func (e AddExportRequestValidationError) Field() string
Field function returns field value.
func (AddExportRequestValidationError) Key ¶
func (e AddExportRequestValidationError) Key() bool
Key function returns key value.
func (AddExportRequestValidationError) Reason ¶
func (e AddExportRequestValidationError) Reason() string
Reason function returns reason value.
type AddExportRequest_ExportFile ¶
type AddExportRequest_ExportFile struct { Sha string `protobuf:"bytes,1,opt,name=sha,proto3" json:"sha,omitempty"` Rename string `protobuf:"bytes,2,opt,name=rename,proto3" json:"rename,omitempty"` // contains filtered or unexported fields }
func (*AddExportRequest_ExportFile) Descriptor
deprecated
func (*AddExportRequest_ExportFile) Descriptor() ([]byte, []int)
Deprecated: Use AddExportRequest_ExportFile.ProtoReflect.Descriptor instead.
func (*AddExportRequest_ExportFile) GetRename ¶
func (x *AddExportRequest_ExportFile) GetRename() string
func (*AddExportRequest_ExportFile) GetSha ¶
func (x *AddExportRequest_ExportFile) GetSha() string
func (*AddExportRequest_ExportFile) ProtoMessage ¶
func (*AddExportRequest_ExportFile) ProtoMessage()
func (*AddExportRequest_ExportFile) ProtoReflect ¶
func (x *AddExportRequest_ExportFile) ProtoReflect() protoreflect.Message
func (*AddExportRequest_ExportFile) Reset ¶
func (x *AddExportRequest_ExportFile) Reset()
func (*AddExportRequest_ExportFile) String ¶
func (x *AddExportRequest_ExportFile) String() string
func (*AddExportRequest_ExportFile) Validate ¶
func (m *AddExportRequest_ExportFile) Validate() error
Validate checks the field values on AddExportRequest_ExportFile with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddExportRequest_ExportFile) ValidateAll ¶
func (m *AddExportRequest_ExportFile) ValidateAll() error
ValidateAll checks the field values on AddExportRequest_ExportFile with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddExportRequest_ExportFileMultiError, or nil if none found.
type AddExportRequest_ExportFileMultiError ¶
type AddExportRequest_ExportFileMultiError []error
AddExportRequest_ExportFileMultiError is an error wrapping multiple validation errors returned by AddExportRequest_ExportFile.ValidateAll() if the designated constraints aren't met.
func (AddExportRequest_ExportFileMultiError) AllErrors ¶
func (m AddExportRequest_ExportFileMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddExportRequest_ExportFileMultiError) Error ¶
func (m AddExportRequest_ExportFileMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddExportRequest_ExportFileValidationError ¶
type AddExportRequest_ExportFileValidationError struct {
// contains filtered or unexported fields
}
AddExportRequest_ExportFileValidationError is the validation error returned by AddExportRequest_ExportFile.Validate if the designated constraints aren't met.
func (AddExportRequest_ExportFileValidationError) Cause ¶
func (e AddExportRequest_ExportFileValidationError) Cause() error
Cause function returns cause value.
func (AddExportRequest_ExportFileValidationError) Error ¶
func (e AddExportRequest_ExportFileValidationError) Error() string
Error satisfies the builtin error interface
func (AddExportRequest_ExportFileValidationError) ErrorName ¶
func (e AddExportRequest_ExportFileValidationError) ErrorName() string
ErrorName returns error name.
func (AddExportRequest_ExportFileValidationError) Field ¶
func (e AddExportRequest_ExportFileValidationError) Field() string
Field function returns field value.
func (AddExportRequest_ExportFileValidationError) Key ¶
func (e AddExportRequest_ExportFileValidationError) Key() bool
Key function returns key value.
func (AddExportRequest_ExportFileValidationError) Reason ¶
func (e AddExportRequest_ExportFileValidationError) Reason() string
Reason function returns reason value.
type DeleteExportRequest ¶
type DeleteExportRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteExportRequest) Descriptor
deprecated
func (*DeleteExportRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteExportRequest.ProtoReflect.Descriptor instead.
func (*DeleteExportRequest) GetId ¶
func (x *DeleteExportRequest) GetId() uint32
func (*DeleteExportRequest) ProtoMessage ¶
func (*DeleteExportRequest) ProtoMessage()
func (*DeleteExportRequest) ProtoReflect ¶
func (x *DeleteExportRequest) ProtoReflect() protoreflect.Message
func (*DeleteExportRequest) Reset ¶
func (x *DeleteExportRequest) Reset()
func (*DeleteExportRequest) String ¶
func (x *DeleteExportRequest) String() string
func (*DeleteExportRequest) Validate ¶
func (m *DeleteExportRequest) Validate() error
Validate checks the field values on DeleteExportRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteExportRequest) ValidateAll ¶
func (m *DeleteExportRequest) ValidateAll() error
ValidateAll checks the field values on DeleteExportRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteExportRequestMultiError, or nil if none found.
type DeleteExportRequestMultiError ¶
type DeleteExportRequestMultiError []error
DeleteExportRequestMultiError is an error wrapping multiple validation errors returned by DeleteExportRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteExportRequestMultiError) AllErrors ¶
func (m DeleteExportRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteExportRequestMultiError) Error ¶
func (m DeleteExportRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteExportRequestValidationError ¶
type DeleteExportRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteExportRequestValidationError is the validation error returned by DeleteExportRequest.Validate if the designated constraints aren't met.
func (DeleteExportRequestValidationError) Cause ¶
func (e DeleteExportRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteExportRequestValidationError) Error ¶
func (e DeleteExportRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteExportRequestValidationError) ErrorName ¶
func (e DeleteExportRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteExportRequestValidationError) Field ¶
func (e DeleteExportRequestValidationError) Field() string
Field function returns field value.
func (DeleteExportRequestValidationError) Key ¶
func (e DeleteExportRequestValidationError) Key() bool
Key function returns key value.
func (DeleteExportRequestValidationError) Reason ¶
func (e DeleteExportRequestValidationError) Reason() string
Reason function returns reason value.
type Export ¶
type Export struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Size uint32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` Src string `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"` Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"` Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` CreatedAt uint32 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt uint32 `protobuf:"varint,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Export) Descriptor
deprecated
func (*Export) GetCreatedAt ¶
func (*Export) GetUpdatedAt ¶
func (*Export) GetVersion ¶
func (*Export) ProtoMessage ¶
func (*Export) ProtoMessage()
func (*Export) ProtoReflect ¶
func (x *Export) ProtoReflect() protoreflect.Message
func (*Export) Validate ¶
Validate checks the field values on Export with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Export) ValidateAll ¶
ValidateAll checks the field values on Export with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExportMultiError, or nil if none found.
type ExportMultiError ¶
type ExportMultiError []error
ExportMultiError is an error wrapping multiple validation errors returned by Export.ValidateAll() if the designated constraints aren't met.
func (ExportMultiError) AllErrors ¶
func (m ExportMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExportMultiError) Error ¶
func (m ExportMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExportValidationError ¶
type ExportValidationError struct {
// contains filtered or unexported fields
}
ExportValidationError is the validation error returned by Export.Validate if the designated constraints aren't met.
func (ExportValidationError) Cause ¶
func (e ExportValidationError) Cause() error
Cause function returns cause value.
func (ExportValidationError) Error ¶
func (e ExportValidationError) Error() string
Error satisfies the builtin error interface
func (ExportValidationError) ErrorName ¶
func (e ExportValidationError) ErrorName() string
ErrorName returns error name.
func (ExportValidationError) Field ¶
func (e ExportValidationError) Field() string
Field function returns field value.
func (ExportValidationError) Key ¶
func (e ExportValidationError) Key() bool
Key function returns key value.
func (ExportValidationError) Reason ¶
func (e ExportValidationError) Reason() string
Reason function returns reason value.
type PageExportReply ¶
type PageExportReply struct { List []*Export `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` Total *uint32 `protobuf:"varint,2,opt,name=total,proto3,oneof" json:"total,omitempty"` // contains filtered or unexported fields }
func (*PageExportReply) Descriptor
deprecated
func (*PageExportReply) Descriptor() ([]byte, []int)
Deprecated: Use PageExportReply.ProtoReflect.Descriptor instead.
func (*PageExportReply) GetList ¶
func (x *PageExportReply) GetList() []*Export
func (*PageExportReply) GetTotal ¶
func (x *PageExportReply) GetTotal() uint32
func (*PageExportReply) ProtoMessage ¶
func (*PageExportReply) ProtoMessage()
func (*PageExportReply) ProtoReflect ¶
func (x *PageExportReply) ProtoReflect() protoreflect.Message
func (*PageExportReply) Reset ¶
func (x *PageExportReply) Reset()
func (*PageExportReply) String ¶
func (x *PageExportReply) String() string
func (*PageExportReply) Validate ¶
func (m *PageExportReply) Validate() error
Validate checks the field values on PageExportReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PageExportReply) ValidateAll ¶
func (m *PageExportReply) ValidateAll() error
ValidateAll checks the field values on PageExportReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageExportReplyMultiError, or nil if none found.
type PageExportReplyMultiError ¶
type PageExportReplyMultiError []error
PageExportReplyMultiError is an error wrapping multiple validation errors returned by PageExportReply.ValidateAll() if the designated constraints aren't met.
func (PageExportReplyMultiError) AllErrors ¶
func (m PageExportReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageExportReplyMultiError) Error ¶
func (m PageExportReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageExportReplyValidationError ¶
type PageExportReplyValidationError struct {
// contains filtered or unexported fields
}
PageExportReplyValidationError is the validation error returned by PageExportReply.Validate if the designated constraints aren't met.
func (PageExportReplyValidationError) Cause ¶
func (e PageExportReplyValidationError) Cause() error
Cause function returns cause value.
func (PageExportReplyValidationError) Error ¶
func (e PageExportReplyValidationError) Error() string
Error satisfies the builtin error interface
func (PageExportReplyValidationError) ErrorName ¶
func (e PageExportReplyValidationError) ErrorName() string
ErrorName returns error name.
func (PageExportReplyValidationError) Field ¶
func (e PageExportReplyValidationError) Field() string
Field function returns field value.
func (PageExportReplyValidationError) Key ¶
func (e PageExportReplyValidationError) Key() bool
Key function returns key value.
func (PageExportReplyValidationError) Reason ¶
func (e PageExportReplyValidationError) Reason() string
Reason function returns reason value.
type PageExportRequest ¶
type PageExportRequest struct { Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*PageExportRequest) Descriptor
deprecated
func (*PageExportRequest) Descriptor() ([]byte, []int)
Deprecated: Use PageExportRequest.ProtoReflect.Descriptor instead.
func (*PageExportRequest) GetPage ¶
func (x *PageExportRequest) GetPage() uint32
func (*PageExportRequest) GetPageSize ¶
func (x *PageExportRequest) GetPageSize() uint32
func (*PageExportRequest) ProtoMessage ¶
func (*PageExportRequest) ProtoMessage()
func (*PageExportRequest) ProtoReflect ¶
func (x *PageExportRequest) ProtoReflect() protoreflect.Message
func (*PageExportRequest) Reset ¶
func (x *PageExportRequest) Reset()
func (*PageExportRequest) String ¶
func (x *PageExportRequest) String() string
func (*PageExportRequest) Validate ¶
func (m *PageExportRequest) Validate() error
Validate checks the field values on PageExportRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PageExportRequest) ValidateAll ¶
func (m *PageExportRequest) ValidateAll() error
ValidateAll checks the field values on PageExportRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageExportRequestMultiError, or nil if none found.
type PageExportRequestMultiError ¶
type PageExportRequestMultiError []error
PageExportRequestMultiError is an error wrapping multiple validation errors returned by PageExportRequest.ValidateAll() if the designated constraints aren't met.
func (PageExportRequestMultiError) AllErrors ¶
func (m PageExportRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageExportRequestMultiError) Error ¶
func (m PageExportRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageExportRequestValidationError ¶
type PageExportRequestValidationError struct {
// contains filtered or unexported fields
}
PageExportRequestValidationError is the validation error returned by PageExportRequest.Validate if the designated constraints aren't met.
func (PageExportRequestValidationError) Cause ¶
func (e PageExportRequestValidationError) Cause() error
Cause function returns cause value.
func (PageExportRequestValidationError) Error ¶
func (e PageExportRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PageExportRequestValidationError) ErrorName ¶
func (e PageExportRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PageExportRequestValidationError) Field ¶
func (e PageExportRequestValidationError) Field() string
Field function returns field value.
func (PageExportRequestValidationError) Key ¶
func (e PageExportRequestValidationError) Key() bool
Key function returns key value.
func (PageExportRequestValidationError) Reason ¶
func (e PageExportRequestValidationError) Reason() string
Reason function returns reason value.
type ServiceClient ¶
type ServiceClient interface { PageExport(ctx context.Context, in *PageExportRequest, opts ...grpc.CallOption) (*PageExportReply, error) AddExport(ctx context.Context, in *AddExportRequest, opts ...grpc.CallOption) (*AddExportReply, error) AddExportExcel(ctx context.Context, in *AddExportExcelRequest, opts ...grpc.CallOption) (*AddExportExcelReply, error) DeleteExport(ctx context.Context, in *DeleteExportRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
ServiceClient is the client API for Service 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 NewServiceClient ¶
func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient
type ServiceHTTPClient ¶
type ServiceHTTPClient interface { AddExport(ctx context.Context, req *AddExportRequest, opts ...http.CallOption) (rsp *AddExportReply, err error) AddExportExcel(ctx context.Context, req *AddExportExcelRequest, opts ...http.CallOption) (rsp *AddExportExcelReply, err error) DeleteExport(ctx context.Context, req *DeleteExportRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) PageExport(ctx context.Context, req *PageExportRequest, opts ...http.CallOption) (rsp *PageExportReply, err error) }
func NewServiceHTTPClient ¶
func NewServiceHTTPClient(client *http.Client) ServiceHTTPClient
type ServiceHTTPClientImpl ¶
type ServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*ServiceHTTPClientImpl) AddExport ¶
func (c *ServiceHTTPClientImpl) AddExport(ctx context.Context, in *AddExportRequest, opts ...http.CallOption) (*AddExportReply, error)
func (*ServiceHTTPClientImpl) AddExportExcel ¶
func (c *ServiceHTTPClientImpl) AddExportExcel(ctx context.Context, in *AddExportExcelRequest, opts ...http.CallOption) (*AddExportExcelReply, error)
func (*ServiceHTTPClientImpl) DeleteExport ¶
func (c *ServiceHTTPClientImpl) DeleteExport(ctx context.Context, in *DeleteExportRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) PageExport ¶
func (c *ServiceHTTPClientImpl) PageExport(ctx context.Context, in *PageExportRequest, opts ...http.CallOption) (*PageExportReply, error)
type ServiceHTTPServer ¶
type ServiceHTTPServer interface { AddExport(context.Context, *AddExportRequest) (*AddExportReply, error) AddExportExcel(context.Context, *AddExportExcelRequest) (*AddExportExcelReply, error) DeleteExport(context.Context, *DeleteExportRequest) (*emptypb.Empty, error) PageExport(context.Context, *PageExportRequest) (*PageExportReply, error) }
type ServiceServer ¶
type ServiceServer interface { PageExport(context.Context, *PageExportRequest) (*PageExportReply, error) AddExport(context.Context, *AddExportRequest) (*AddExportReply, error) AddExportExcel(context.Context, *AddExportExcelRequest) (*AddExportExcelReply, error) DeleteExport(context.Context, *DeleteExportRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility
type UnimplementedServiceServer ¶
type UnimplementedServiceServer struct { }
UnimplementedServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedServiceServer) AddExport ¶
func (UnimplementedServiceServer) AddExport(context.Context, *AddExportRequest) (*AddExportReply, error)
func (UnimplementedServiceServer) AddExportExcel ¶
func (UnimplementedServiceServer) AddExportExcel(context.Context, *AddExportExcelRequest) (*AddExportExcelReply, error)
func (UnimplementedServiceServer) DeleteExport ¶
func (UnimplementedServiceServer) DeleteExport(context.Context, *DeleteExportRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) PageExport ¶
func (UnimplementedServiceServer) PageExport(context.Context, *PageExportRequest) (*PageExportReply, error)
type UnsafeServiceServer ¶
type UnsafeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.