Documentation ¶
Index ¶
- Constants
- Variables
- func ErrorApplicationError(format string, args ...interface{}) *errors.Error
- func ErrorApplicationParameterError(format string, args ...interface{}) *errors.Error
- func ErrorApplicationUnderReview(format string, args ...interface{}) *errors.Error
- func ErrorBindingPhoneError(format string, args ...interface{}) *errors.Error
- func ErrorCreateTenantError(format string, args ...interface{}) *errors.Error
- func ErrorDeleteTenantError(format string, args ...interface{}) *errors.Error
- func ErrorEncryptionRequestOptionFail(format string, args ...interface{}) *errors.Error
- func ErrorFindTenantByAssociatedUsersIdError(format string, args ...interface{}) *errors.Error
- func ErrorFindTenantByIdError(format string, args ...interface{}) *errors.Error
- func ErrorGetTenantListError(format string, args ...interface{}) *errors.Error
- func ErrorMarshalTenantDataEncodingFail(format string, args ...interface{}) *errors.Error
- func ErrorMobileVerificationCodeError(format string, args ...interface{}) *errors.Error
- func ErrorTenantAlreadyExists(format string, args ...interface{}) *errors.Error
- func ErrorTenantMultipleApplication(format string, args ...interface{}) *errors.Error
- func ErrorTenantNotFound(format string, args ...interface{}) *errors.Error
- func ErrorTenantNotOpened(format string, args ...interface{}) *errors.Error
- func ErrorTheWebsiteHasBeenOpened(format string, args ...interface{}) *errors.Error
- func ErrorUpdateTenantError(format string, args ...interface{}) *errors.Error
- func ErrorVerificationCodeVerificationFailed(format string, args ...interface{}) *errors.Error
- func IsApplicationError(err error) bool
- func IsApplicationParameterError(err error) bool
- func IsApplicationUnderReview(err error) bool
- func IsBindingPhoneError(err error) bool
- func IsCreateTenantError(err error) bool
- func IsDeleteTenantError(err error) bool
- func IsEncryptionRequestOptionFail(err error) bool
- func IsFindTenantByAssociatedUsersIdError(err error) bool
- func IsFindTenantByIdError(err error) bool
- func IsGetTenantListError(err error) bool
- func IsMarshalTenantDataEncodingFail(err error) bool
- func IsMobileVerificationCodeError(err error) bool
- func IsTenantAlreadyExists(err error) bool
- func IsTenantMultipleApplication(err error) bool
- func IsTenantNotFound(err error) bool
- func IsTenantNotOpened(err error) bool
- func IsTheWebsiteHasBeenOpened(err error) bool
- func IsUpdateTenantError(err error) bool
- func IsVerificationCodeVerificationFailed(err error) bool
- func RegisterTenantServer(s grpc.ServiceRegistrar, srv TenantServer)
- type ApplicationReply
- func (*ApplicationReply) Descriptor() ([]byte, []int)deprecated
- func (*ApplicationReply) ProtoMessage()
- func (x *ApplicationReply) ProtoReflect() protoreflect.Message
- func (x *ApplicationReply) Reset()
- func (x *ApplicationReply) String() string
- func (m *ApplicationReply) Validate() error
- func (m *ApplicationReply) ValidateAll() error
- type ApplicationReplyMultiError
- type ApplicationReplyValidationError
- func (e ApplicationReplyValidationError) Cause() error
- func (e ApplicationReplyValidationError) Error() string
- func (e ApplicationReplyValidationError) ErrorName() string
- func (e ApplicationReplyValidationError) Field() string
- func (e ApplicationReplyValidationError) Key() bool
- func (e ApplicationReplyValidationError) Reason() string
- type ApplicationRequest
- func (*ApplicationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationRequest) GetAssociatedUserID() string
- func (x *ApplicationRequest) GetCode() string
- func (x *ApplicationRequest) GetDuration() int64
- func (x *ApplicationRequest) GetId() string
- func (x *ApplicationRequest) GetKey() string
- func (x *ApplicationRequest) GetMaxGroupNumber() int64
- func (x *ApplicationRequest) GetMaxNumber() int64
- func (x *ApplicationRequest) GetName() string
- func (x *ApplicationRequest) GetPackageType() string
- func (x *ApplicationRequest) GetPhone() string
- func (*ApplicationRequest) ProtoMessage()
- func (x *ApplicationRequest) ProtoReflect() protoreflect.Message
- func (x *ApplicationRequest) Reset()
- func (x *ApplicationRequest) String() string
- func (m *ApplicationRequest) Validate() error
- func (m *ApplicationRequest) ValidateAll() error
- type ApplicationRequestMultiError
- type ApplicationRequestValidationError
- func (e ApplicationRequestValidationError) Cause() error
- func (e ApplicationRequestValidationError) Error() string
- func (e ApplicationRequestValidationError) ErrorName() string
- func (e ApplicationRequestValidationError) Field() string
- func (e ApplicationRequestValidationError) Key() bool
- func (e ApplicationRequestValidationError) Reason() string
- type BindingPhoneReply
- func (*BindingPhoneReply) Descriptor() ([]byte, []int)deprecated
- func (*BindingPhoneReply) ProtoMessage()
- func (x *BindingPhoneReply) ProtoReflect() protoreflect.Message
- func (x *BindingPhoneReply) Reset()
- func (x *BindingPhoneReply) String() string
- func (m *BindingPhoneReply) Validate() error
- func (m *BindingPhoneReply) ValidateAll() error
- type BindingPhoneReplyMultiError
- type BindingPhoneReplyValidationError
- func (e BindingPhoneReplyValidationError) Cause() error
- func (e BindingPhoneReplyValidationError) Error() string
- func (e BindingPhoneReplyValidationError) ErrorName() string
- func (e BindingPhoneReplyValidationError) Field() string
- func (e BindingPhoneReplyValidationError) Key() bool
- func (e BindingPhoneReplyValidationError) Reason() string
- type BindingPhoneRequest
- func (*BindingPhoneRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BindingPhoneRequest) GetCode() string
- func (x *BindingPhoneRequest) GetId() string
- func (x *BindingPhoneRequest) GetKey() string
- func (x *BindingPhoneRequest) GetPhone() string
- func (*BindingPhoneRequest) ProtoMessage()
- func (x *BindingPhoneRequest) ProtoReflect() protoreflect.Message
- func (x *BindingPhoneRequest) Reset()
- func (x *BindingPhoneRequest) String() string
- func (m *BindingPhoneRequest) Validate() error
- func (m *BindingPhoneRequest) ValidateAll() error
- type BindingPhoneRequestMultiError
- type BindingPhoneRequestValidationError
- func (e BindingPhoneRequestValidationError) Cause() error
- func (e BindingPhoneRequestValidationError) Error() string
- func (e BindingPhoneRequestValidationError) ErrorName() string
- func (e BindingPhoneRequestValidationError) Field() string
- func (e BindingPhoneRequestValidationError) Key() bool
- func (e BindingPhoneRequestValidationError) Reason() string
- type CreateReply
- func (*CreateReply) Descriptor() ([]byte, []int)deprecated
- func (*CreateReply) ProtoMessage()
- func (x *CreateReply) ProtoReflect() protoreflect.Message
- func (x *CreateReply) Reset()
- func (x *CreateReply) String() string
- func (m *CreateReply) Validate() error
- func (m *CreateReply) ValidateAll() error
- type CreateReplyMultiError
- type CreateReplyValidationError
- func (e CreateReplyValidationError) Cause() error
- func (e CreateReplyValidationError) Error() string
- func (e CreateReplyValidationError) ErrorName() string
- func (e CreateReplyValidationError) Field() string
- func (e CreateReplyValidationError) Key() bool
- func (e CreateReplyValidationError) Reason() string
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequest) GetAssociatedUserID() string
- func (x *CreateRequest) GetEndTime() int64
- func (x *CreateRequest) GetId() string
- func (x *CreateRequest) GetMaxGroupNumber() int64
- func (x *CreateRequest) GetMaxNumber() int64
- func (x *CreateRequest) GetName() string
- func (x *CreateRequest) GetPackageType() string
- func (x *CreateRequest) GetPhone() string
- func (x *CreateRequest) GetPriKey() string
- func (x *CreateRequest) GetPubKey() string
- func (x *CreateRequest) GetStartTime() int64
- func (x *CreateRequest) GetStatus() int32
- func (*CreateRequest) ProtoMessage()
- func (x *CreateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequest) Reset()
- func (x *CreateRequest) String() string
- func (m *CreateRequest) Validate() error
- func (m *CreateRequest) ValidateAll() error
- type CreateRequestMultiError
- type CreateRequestValidationError
- func (e CreateRequestValidationError) Cause() error
- func (e CreateRequestValidationError) Error() string
- func (e CreateRequestValidationError) ErrorName() string
- func (e CreateRequestValidationError) Field() string
- func (e CreateRequestValidationError) Key() bool
- func (e CreateRequestValidationError) Reason() string
- type DeleteReply
- func (*DeleteReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteReply) ProtoMessage()
- func (x *DeleteReply) ProtoReflect() protoreflect.Message
- func (x *DeleteReply) Reset()
- func (x *DeleteReply) String() string
- func (m *DeleteReply) Validate() error
- func (m *DeleteReply) ValidateAll() error
- type DeleteReplyMultiError
- type DeleteReplyValidationError
- func (e DeleteReplyValidationError) Cause() error
- func (e DeleteReplyValidationError) Error() string
- func (e DeleteReplyValidationError) ErrorName() string
- func (e DeleteReplyValidationError) Field() string
- func (e DeleteReplyValidationError) Key() bool
- func (e DeleteReplyValidationError) Reason() string
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRequest) GetId() string
- func (*DeleteRequest) ProtoMessage()
- func (x *DeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRequest) Reset()
- func (x *DeleteRequest) String() string
- func (m *DeleteRequest) Validate() error
- func (m *DeleteRequest) ValidateAll() error
- type DeleteRequestMultiError
- type DeleteRequestValidationError
- func (e DeleteRequestValidationError) Cause() error
- func (e DeleteRequestValidationError) Error() string
- func (e DeleteRequestValidationError) ErrorName() string
- func (e DeleteRequestValidationError) Field() string
- func (e DeleteRequestValidationError) Key() bool
- func (e DeleteRequestValidationError) Reason() string
- type FindByAssociatedUsersIDReply
- func (*FindByAssociatedUsersIDReply) Descriptor() ([]byte, []int)deprecated
- func (x *FindByAssociatedUsersIDReply) GetData() *Tenant
- func (*FindByAssociatedUsersIDReply) ProtoMessage()
- func (x *FindByAssociatedUsersIDReply) ProtoReflect() protoreflect.Message
- func (x *FindByAssociatedUsersIDReply) Reset()
- func (x *FindByAssociatedUsersIDReply) String() string
- func (m *FindByAssociatedUsersIDReply) Validate() error
- func (m *FindByAssociatedUsersIDReply) ValidateAll() error
- type FindByAssociatedUsersIDReplyMultiError
- type FindByAssociatedUsersIDReplyValidationError
- func (e FindByAssociatedUsersIDReplyValidationError) Cause() error
- func (e FindByAssociatedUsersIDReplyValidationError) Error() string
- func (e FindByAssociatedUsersIDReplyValidationError) ErrorName() string
- func (e FindByAssociatedUsersIDReplyValidationError) Field() string
- func (e FindByAssociatedUsersIDReplyValidationError) Key() bool
- func (e FindByAssociatedUsersIDReplyValidationError) Reason() string
- type FindByAssociatedUsersIDRequest
- func (*FindByAssociatedUsersIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindByAssociatedUsersIDRequest) GetAssociatedUsersID() string
- func (*FindByAssociatedUsersIDRequest) ProtoMessage()
- func (x *FindByAssociatedUsersIDRequest) ProtoReflect() protoreflect.Message
- func (x *FindByAssociatedUsersIDRequest) Reset()
- func (x *FindByAssociatedUsersIDRequest) String() string
- func (m *FindByAssociatedUsersIDRequest) Validate() error
- func (m *FindByAssociatedUsersIDRequest) ValidateAll() error
- type FindByAssociatedUsersIDRequestMultiError
- type FindByAssociatedUsersIDRequestValidationError
- func (e FindByAssociatedUsersIDRequestValidationError) Cause() error
- func (e FindByAssociatedUsersIDRequestValidationError) Error() string
- func (e FindByAssociatedUsersIDRequestValidationError) ErrorName() string
- func (e FindByAssociatedUsersIDRequestValidationError) Field() string
- func (e FindByAssociatedUsersIDRequestValidationError) Key() bool
- func (e FindByAssociatedUsersIDRequestValidationError) Reason() string
- type FindByIDReply
- func (*FindByIDReply) Descriptor() ([]byte, []int)deprecated
- func (x *FindByIDReply) GetData() *Tenant
- func (*FindByIDReply) ProtoMessage()
- func (x *FindByIDReply) ProtoReflect() protoreflect.Message
- func (x *FindByIDReply) Reset()
- func (x *FindByIDReply) String() string
- func (m *FindByIDReply) Validate() error
- func (m *FindByIDReply) ValidateAll() error
- type FindByIDReplyMultiError
- type FindByIDReplyValidationError
- func (e FindByIDReplyValidationError) Cause() error
- func (e FindByIDReplyValidationError) Error() string
- func (e FindByIDReplyValidationError) ErrorName() string
- func (e FindByIDReplyValidationError) Field() string
- func (e FindByIDReplyValidationError) Key() bool
- func (e FindByIDReplyValidationError) Reason() string
- type FindByIDRequest
- func (*FindByIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindByIDRequest) GetId() string
- func (*FindByIDRequest) ProtoMessage()
- func (x *FindByIDRequest) ProtoReflect() protoreflect.Message
- func (x *FindByIDRequest) Reset()
- func (x *FindByIDRequest) String() string
- func (m *FindByIDRequest) Validate() error
- func (m *FindByIDRequest) ValidateAll() error
- type FindByIDRequestMultiError
- type FindByIDRequestValidationError
- func (e FindByIDRequestValidationError) Cause() error
- func (e FindByIDRequestValidationError) Error() string
- func (e FindByIDRequestValidationError) ErrorName() string
- func (e FindByIDRequestValidationError) Field() string
- func (e FindByIDRequestValidationError) Key() bool
- func (e FindByIDRequestValidationError) Reason() string
- type GetListReply
- func (*GetListReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetListReply) GetList() []*Tenant
- func (x *GetListReply) GetTotal() int64
- func (*GetListReply) ProtoMessage()
- func (x *GetListReply) ProtoReflect() protoreflect.Message
- func (x *GetListReply) Reset()
- func (x *GetListReply) String() string
- func (m *GetListReply) Validate() error
- func (m *GetListReply) ValidateAll() error
- type GetListReplyMultiError
- type GetListReplyValidationError
- func (e GetListReplyValidationError) Cause() error
- func (e GetListReplyValidationError) Error() string
- func (e GetListReplyValidationError) ErrorName() string
- func (e GetListReplyValidationError) Field() string
- func (e GetListReplyValidationError) Key() bool
- func (e GetListReplyValidationError) Reason() string
- type GetListRequest
- func (*GetListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetListRequest) GetId() string
- func (x *GetListRequest) GetName() string
- func (x *GetListRequest) GetPackageType() string
- func (x *GetListRequest) GetPagination() *v2.Pagination
- func (x *GetListRequest) GetStatus() int32
- func (*GetListRequest) ProtoMessage()
- func (x *GetListRequest) ProtoReflect() protoreflect.Message
- func (x *GetListRequest) Reset()
- func (x *GetListRequest) String() string
- func (m *GetListRequest) Validate() error
- func (m *GetListRequest) ValidateAll() error
- type GetListRequestMultiError
- type GetListRequestValidationError
- func (e GetListRequestValidationError) Cause() error
- func (e GetListRequestValidationError) Error() string
- func (e GetListRequestValidationError) ErrorName() string
- func (e GetListRequestValidationError) Field() string
- func (e GetListRequestValidationError) Key() bool
- func (e GetListRequestValidationError) Reason() string
- type Tenant
- func (*Tenant) Descriptor() ([]byte, []int)deprecated
- func (x *Tenant) GetAssociatedUsersID() string
- func (x *Tenant) GetCode() string
- func (x *Tenant) GetCreatedAt() int64
- func (x *Tenant) GetDeletedAt() int64
- func (x *Tenant) GetEndTime() int64
- func (x *Tenant) GetId() string
- func (x *Tenant) GetIntroduce() string
- func (x *Tenant) GetLogo() string
- func (x *Tenant) GetMaxGroupNumber() int64
- func (x *Tenant) GetMaxNumber() int64
- func (x *Tenant) GetName() string
- func (x *Tenant) GetPackageType() string
- func (x *Tenant) GetPhone() string
- func (x *Tenant) GetStartTime() int64
- func (x *Tenant) GetStatus() int32
- func (x *Tenant) GetUpdatedAt() int64
- func (x *Tenant) GetWebsiteAddress() string
- func (x *Tenant) GetWebsiteStatus() int32
- func (*Tenant) ProtoMessage()
- func (x *Tenant) ProtoReflect() protoreflect.Message
- func (x *Tenant) Reset()
- func (x *Tenant) String() string
- func (m *Tenant) Validate() error
- func (m *Tenant) ValidateAll() error
- type TenantClient
- type TenantErrorReason
- func (TenantErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x TenantErrorReason) Enum() *TenantErrorReason
- func (TenantErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x TenantErrorReason) Number() protoreflect.EnumNumber
- func (x TenantErrorReason) String() string
- func (TenantErrorReason) Type() protoreflect.EnumType
- type TenantMultiError
- type TenantServer
- type TenantValidationError
- type UnimplementedTenantServer
- func (UnimplementedTenantServer) Application(context.Context, *ApplicationRequest) (*ApplicationReply, error)
- func (UnimplementedTenantServer) BindingPhone(context.Context, *BindingPhoneRequest) (*BindingPhoneReply, error)
- func (UnimplementedTenantServer) Create(context.Context, *CreateRequest) (*CreateReply, error)
- func (UnimplementedTenantServer) Delete(context.Context, *DeleteRequest) (*DeleteReply, error)
- func (UnimplementedTenantServer) FindByAssociatedUsersID(context.Context, *FindByAssociatedUsersIDRequest) (*FindByAssociatedUsersIDReply, error)
- func (UnimplementedTenantServer) FindByID(context.Context, *FindByIDRequest) (*FindByIDReply, error)
- func (UnimplementedTenantServer) GetList(context.Context, *GetListRequest) (*GetListReply, error)
- func (UnimplementedTenantServer) Update(context.Context, *UpdateRequest) (*UpdateReply, error)
- func (UnimplementedTenantServer) WebsiteApplication(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedTenantServer) WebsitePath(context.Context, *WebsitePathRequest) (*WebsitePathReply, error)
- type UnsafeTenantServer
- type UpdateReply
- func (*UpdateReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateReply) ProtoMessage()
- func (x *UpdateReply) ProtoReflect() protoreflect.Message
- func (x *UpdateReply) Reset()
- func (x *UpdateReply) String() string
- func (m *UpdateReply) Validate() error
- func (m *UpdateReply) ValidateAll() error
- type UpdateReplyMultiError
- type UpdateReplyValidationError
- func (e UpdateReplyValidationError) Cause() error
- func (e UpdateReplyValidationError) Error() string
- func (e UpdateReplyValidationError) ErrorName() string
- func (e UpdateReplyValidationError) Field() string
- func (e UpdateReplyValidationError) Key() bool
- func (e UpdateReplyValidationError) Reason() string
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequest) GetAssociatedUserID() string
- func (x *UpdateRequest) GetCode() string
- func (x *UpdateRequest) GetEndTime() int64
- func (x *UpdateRequest) GetId() string
- func (x *UpdateRequest) GetIntroduce() string
- func (x *UpdateRequest) GetLogo() string
- func (x *UpdateRequest) GetMaxGroupNumber() int64
- func (x *UpdateRequest) GetMaxNumber() int64
- func (x *UpdateRequest) GetName() string
- func (x *UpdateRequest) GetPackageType() string
- func (x *UpdateRequest) GetPhone() string
- func (x *UpdateRequest) GetPriKey() string
- func (x *UpdateRequest) GetPubKey() string
- func (x *UpdateRequest) GetStartTime() int64
- func (x *UpdateRequest) GetStatus() int32
- func (x *UpdateRequest) GetWebsiteAddress() string
- func (x *UpdateRequest) GetWebsiteStatus() int32
- func (*UpdateRequest) ProtoMessage()
- func (x *UpdateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRequest) Reset()
- func (x *UpdateRequest) String() string
- func (m *UpdateRequest) Validate() error
- func (m *UpdateRequest) ValidateAll() error
- type UpdateRequestMultiError
- type UpdateRequestValidationError
- func (e UpdateRequestValidationError) Cause() error
- func (e UpdateRequestValidationError) Error() string
- func (e UpdateRequestValidationError) ErrorName() string
- func (e UpdateRequestValidationError) Field() string
- func (e UpdateRequestValidationError) Key() bool
- func (e UpdateRequestValidationError) Reason() string
- type WebsitePathReply
- func (*WebsitePathReply) Descriptor() ([]byte, []int)deprecated
- func (x *WebsitePathReply) GetUrl() string
- func (*WebsitePathReply) ProtoMessage()
- func (x *WebsitePathReply) ProtoReflect() protoreflect.Message
- func (x *WebsitePathReply) Reset()
- func (x *WebsitePathReply) String() string
- func (m *WebsitePathReply) Validate() error
- func (m *WebsitePathReply) ValidateAll() error
- type WebsitePathReplyMultiError
- type WebsitePathReplyValidationError
- func (e WebsitePathReplyValidationError) Cause() error
- func (e WebsitePathReplyValidationError) Error() string
- func (e WebsitePathReplyValidationError) ErrorName() string
- func (e WebsitePathReplyValidationError) Field() string
- func (e WebsitePathReplyValidationError) Key() bool
- func (e WebsitePathReplyValidationError) Reason() string
- type WebsitePathRequest
- func (*WebsitePathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WebsitePathRequest) GetId() string
- func (*WebsitePathRequest) ProtoMessage()
- func (x *WebsitePathRequest) ProtoReflect() protoreflect.Message
- func (x *WebsitePathRequest) Reset()
- func (x *WebsitePathRequest) String() string
- func (m *WebsitePathRequest) Validate() error
- func (m *WebsitePathRequest) ValidateAll() error
- type WebsitePathRequestMultiError
- type WebsitePathRequestValidationError
- func (e WebsitePathRequestValidationError) Cause() error
- func (e WebsitePathRequestValidationError) Error() string
- func (e WebsitePathRequestValidationError) ErrorName() string
- func (e WebsitePathRequestValidationError) Field() string
- func (e WebsitePathRequestValidationError) Key() bool
- func (e WebsitePathRequestValidationError) Reason() string
Constants ¶
const ( Tenant_Application_FullMethodName = "/api.platform.tenant.v2.tenant/Application" Tenant_Create_FullMethodName = "/api.platform.tenant.v2.tenant/Create" Tenant_Update_FullMethodName = "/api.platform.tenant.v2.tenant/Update" Tenant_BindingPhone_FullMethodName = "/api.platform.tenant.v2.tenant/BindingPhone" Tenant_Delete_FullMethodName = "/api.platform.tenant.v2.tenant/Delete" Tenant_FindByID_FullMethodName = "/api.platform.tenant.v2.tenant/FindByID" Tenant_WebsitePath_FullMethodName = "/api.platform.tenant.v2.tenant/WebsitePath" Tenant_GetList_FullMethodName = "/api.platform.tenant.v2.tenant/GetList" Tenant_FindByAssociatedUsersID_FullMethodName = "/api.platform.tenant.v2.tenant/FindByAssociatedUsersID" Tenant_WebsiteApplication_FullMethodName = "/api.platform.tenant.v2.tenant/WebsiteApplication" )
Variables ¶
var ( TenantErrorReason_name = map[int32]string{ 0: "CREATE_TENANT_ERROR", 1: "UPDATE_TENANT_ERROR", 2: "BINDING_PHONE_ERROR", 3: "DELETE_TENANT_ERROR", 4: "FIND_TENANT_BY_ID_ERROR", 5: "GET_TENANT_LIST_ERROR", 6: "FIND_TENANT_BY_ASSOCIATED_USERS_ID_ERROR", 7: "TENANT_ALREADY_EXISTS", 8: "TENANT_NOT_FOUND", 9: "VERIFICATION_CODE_VERIFICATION_FAILED", 10: "MARSHAL_TENANT_DATA_ENCODING_FAIL", 11: "ENCRYPTION_REQUEST_OPTION_FAIL", 12: "MOBILE_VERIFICATION_CODE_ERROR", 13: "APPLICATION_PARAMETER_ERROR", 14: "APPLICATION_ERROR", 15: "TENANT_NOT_OPENED", 16: "APPLICATION_UNDER_REVIEW", 17: "THE_WEBSITE_HAS_BEEN_OPENED", 18: "TENANT_MULTIPLE_APPLICATION", } TenantErrorReason_value = map[string]int32{ "CREATE_TENANT_ERROR": 0, "UPDATE_TENANT_ERROR": 1, "BINDING_PHONE_ERROR": 2, "DELETE_TENANT_ERROR": 3, "FIND_TENANT_BY_ID_ERROR": 4, "GET_TENANT_LIST_ERROR": 5, "FIND_TENANT_BY_ASSOCIATED_USERS_ID_ERROR": 6, "TENANT_ALREADY_EXISTS": 7, "TENANT_NOT_FOUND": 8, "VERIFICATION_CODE_VERIFICATION_FAILED": 9, "MARSHAL_TENANT_DATA_ENCODING_FAIL": 10, "ENCRYPTION_REQUEST_OPTION_FAIL": 11, "MOBILE_VERIFICATION_CODE_ERROR": 12, "APPLICATION_PARAMETER_ERROR": 13, "APPLICATION_ERROR": 14, "TENANT_NOT_OPENED": 15, "APPLICATION_UNDER_REVIEW": 16, "THE_WEBSITE_HAS_BEEN_OPENED": 17, "TENANT_MULTIPLE_APPLICATION": 18, } )
Enum value maps for TenantErrorReason.
var File_api_platform_tenant_v2_tenant_error_proto protoreflect.FileDescriptor
var File_platform_tenant_v2_tenant_proto protoreflect.FileDescriptor
var Tenant_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.platform.tenant.v2.tenant", HandlerType: (*TenantServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Application", Handler: _Tenant_Application_Handler, }, { MethodName: "Create", Handler: _Tenant_Create_Handler, }, { MethodName: "Update", Handler: _Tenant_Update_Handler, }, { MethodName: "BindingPhone", Handler: _Tenant_BindingPhone_Handler, }, { MethodName: "Delete", Handler: _Tenant_Delete_Handler, }, { MethodName: "FindByID", Handler: _Tenant_FindByID_Handler, }, { MethodName: "WebsitePath", Handler: _Tenant_WebsitePath_Handler, }, { MethodName: "GetList", Handler: _Tenant_GetList_Handler, }, { MethodName: "FindByAssociatedUsersID", Handler: _Tenant_FindByAssociatedUsersID_Handler, }, { MethodName: "WebsiteApplication", Handler: _Tenant_WebsiteApplication_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "platform/tenant/v2/tenant.proto", }
Tenant_ServiceDesc is the grpc.ServiceDesc for Tenant service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func ErrorApplicationError ¶
申请失败
func ErrorApplicationParameterError ¶
申请参数错误
func ErrorApplicationUnderReview ¶
申请审批中
func ErrorBindingPhoneError ¶
绑定手机号失败
func ErrorCreateTenantError ¶
创建租户失败
func ErrorDeleteTenantError ¶
删除租户
func ErrorEncryptionRequestOptionFail ¶
加密请求信息失败encryption
func ErrorFindTenantByAssociatedUsersIdError ¶
根据关联用户查询租户失败
func ErrorFindTenantByIdError ¶
查询租户失败
func ErrorGetTenantListError ¶
获取租户列表失败
func ErrorMarshalTenantDataEncodingFail ¶
序列化数据结构失败
func ErrorMobileVerificationCodeError ¶
手机验证码错误
func ErrorTenantAlreadyExists ¶
租户已存在
func ErrorTenantMultipleApplication ¶
申请审核中,请勿重复提交
func ErrorTenantNotFound ¶
不存在
func ErrorTenantNotOpened ¶
租户未开通
func ErrorTheWebsiteHasBeenOpened ¶
网站已开通
func ErrorUpdateTenantError ¶
更新租户信息失败
func ErrorVerificationCodeVerificationFailed ¶
Verification code verification failed
func IsEncryptionRequestOptionFail ¶
加密请求信息失败encryption
func IsFindTenantByAssociatedUsersIdError ¶
根据关联用户查询租户失败
func IsMarshalTenantDataEncodingFail ¶
序列化数据结构失败
func IsVerificationCodeVerificationFailed ¶
Verification code verification failed
func RegisterTenantServer ¶
func RegisterTenantServer(s grpc.ServiceRegistrar, srv TenantServer)
Types ¶
type ApplicationReply ¶
type ApplicationReply struct {
// contains filtered or unexported fields
}
func (*ApplicationReply) Descriptor
deprecated
func (*ApplicationReply) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationReply.ProtoReflect.Descriptor instead.
func (*ApplicationReply) ProtoMessage ¶
func (*ApplicationReply) ProtoMessage()
func (*ApplicationReply) ProtoReflect ¶
func (x *ApplicationReply) ProtoReflect() protoreflect.Message
func (*ApplicationReply) Reset ¶
func (x *ApplicationReply) Reset()
func (*ApplicationReply) String ¶
func (x *ApplicationReply) String() string
func (*ApplicationReply) Validate ¶
func (m *ApplicationReply) Validate() error
Validate checks the field values on ApplicationReply 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 (*ApplicationReply) ValidateAll ¶
func (m *ApplicationReply) ValidateAll() error
ValidateAll checks the field values on ApplicationReply 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 ApplicationReplyMultiError, or nil if none found.
type ApplicationReplyMultiError ¶
type ApplicationReplyMultiError []error
ApplicationReplyMultiError is an error wrapping multiple validation errors returned by ApplicationReply.ValidateAll() if the designated constraints aren't met.
func (ApplicationReplyMultiError) AllErrors ¶
func (m ApplicationReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplicationReplyMultiError) Error ¶
func (m ApplicationReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplicationReplyValidationError ¶
type ApplicationReplyValidationError struct {
// contains filtered or unexported fields
}
ApplicationReplyValidationError is the validation error returned by ApplicationReply.Validate if the designated constraints aren't met.
func (ApplicationReplyValidationError) Cause ¶
func (e ApplicationReplyValidationError) Cause() error
Cause function returns cause value.
func (ApplicationReplyValidationError) Error ¶
func (e ApplicationReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ApplicationReplyValidationError) ErrorName ¶
func (e ApplicationReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ApplicationReplyValidationError) Field ¶
func (e ApplicationReplyValidationError) Field() string
Field function returns field value.
func (ApplicationReplyValidationError) Key ¶
func (e ApplicationReplyValidationError) Key() bool
Key function returns key value.
func (ApplicationReplyValidationError) Reason ¶
func (e ApplicationReplyValidationError) Reason() string
Reason function returns reason value.
type ApplicationRequest ¶
type ApplicationRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` //租户id Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` //租户名称 PackageType string `protobuf:"bytes,3,opt,name=packageType,proto3" json:"packageType,omitempty"` //套餐类型 MaxNumber int64 `protobuf:"varint,4,opt,name=maxNumber,proto3" json:"maxNumber,omitempty"` // 最大租户数 MaxGroupNumber int64 `protobuf:"varint,5,opt,name=maxGroupNumber,proto3" json:"maxGroupNumber,omitempty"` //最大群人数 AssociatedUserID string `protobuf:"bytes,6,opt,name=associatedUserID,proto3" json:"associatedUserID,omitempty"` // 租户id Key string `protobuf:"bytes,7,opt,name=key,proto3" json:"key,omitempty"` //短信的key Code string `protobuf:"bytes,8,opt,name=code,proto3" json:"code,omitempty"` //短信编码 Phone string `protobuf:"bytes,9,opt,name=phone,proto3" json:"phone,omitempty"` //手机号 Duration int64 `protobuf:"varint,10,opt,name=duration,proto3" json:"duration,omitempty"` //申请时长 // contains filtered or unexported fields }
租户申请 -------------------------------------------
func (*ApplicationRequest) Descriptor
deprecated
func (*ApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationRequest.ProtoReflect.Descriptor instead.
func (*ApplicationRequest) GetAssociatedUserID ¶
func (x *ApplicationRequest) GetAssociatedUserID() string
func (*ApplicationRequest) GetCode ¶
func (x *ApplicationRequest) GetCode() string
func (*ApplicationRequest) GetDuration ¶
func (x *ApplicationRequest) GetDuration() int64
func (*ApplicationRequest) GetId ¶
func (x *ApplicationRequest) GetId() string
func (*ApplicationRequest) GetKey ¶
func (x *ApplicationRequest) GetKey() string
func (*ApplicationRequest) GetMaxGroupNumber ¶
func (x *ApplicationRequest) GetMaxGroupNumber() int64
func (*ApplicationRequest) GetMaxNumber ¶
func (x *ApplicationRequest) GetMaxNumber() int64
func (*ApplicationRequest) GetName ¶
func (x *ApplicationRequest) GetName() string
func (*ApplicationRequest) GetPackageType ¶
func (x *ApplicationRequest) GetPackageType() string
func (*ApplicationRequest) GetPhone ¶
func (x *ApplicationRequest) GetPhone() string
func (*ApplicationRequest) ProtoMessage ¶
func (*ApplicationRequest) ProtoMessage()
func (*ApplicationRequest) ProtoReflect ¶
func (x *ApplicationRequest) ProtoReflect() protoreflect.Message
func (*ApplicationRequest) Reset ¶
func (x *ApplicationRequest) Reset()
func (*ApplicationRequest) String ¶
func (x *ApplicationRequest) String() string
func (*ApplicationRequest) Validate ¶
func (m *ApplicationRequest) Validate() error
Validate checks the field values on ApplicationRequest 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 (*ApplicationRequest) ValidateAll ¶
func (m *ApplicationRequest) ValidateAll() error
ValidateAll checks the field values on ApplicationRequest 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 ApplicationRequestMultiError, or nil if none found.
type ApplicationRequestMultiError ¶
type ApplicationRequestMultiError []error
ApplicationRequestMultiError is an error wrapping multiple validation errors returned by ApplicationRequest.ValidateAll() if the designated constraints aren't met.
func (ApplicationRequestMultiError) AllErrors ¶
func (m ApplicationRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplicationRequestMultiError) Error ¶
func (m ApplicationRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplicationRequestValidationError ¶
type ApplicationRequestValidationError struct {
// contains filtered or unexported fields
}
ApplicationRequestValidationError is the validation error returned by ApplicationRequest.Validate if the designated constraints aren't met.
func (ApplicationRequestValidationError) Cause ¶
func (e ApplicationRequestValidationError) Cause() error
Cause function returns cause value.
func (ApplicationRequestValidationError) Error ¶
func (e ApplicationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ApplicationRequestValidationError) ErrorName ¶
func (e ApplicationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ApplicationRequestValidationError) Field ¶
func (e ApplicationRequestValidationError) Field() string
Field function returns field value.
func (ApplicationRequestValidationError) Key ¶
func (e ApplicationRequestValidationError) Key() bool
Key function returns key value.
func (ApplicationRequestValidationError) Reason ¶
func (e ApplicationRequestValidationError) Reason() string
Reason function returns reason value.
type BindingPhoneReply ¶
type BindingPhoneReply struct {
// contains filtered or unexported fields
}
func (*BindingPhoneReply) Descriptor
deprecated
func (*BindingPhoneReply) Descriptor() ([]byte, []int)
Deprecated: Use BindingPhoneReply.ProtoReflect.Descriptor instead.
func (*BindingPhoneReply) ProtoMessage ¶
func (*BindingPhoneReply) ProtoMessage()
func (*BindingPhoneReply) ProtoReflect ¶
func (x *BindingPhoneReply) ProtoReflect() protoreflect.Message
func (*BindingPhoneReply) Reset ¶
func (x *BindingPhoneReply) Reset()
func (*BindingPhoneReply) String ¶
func (x *BindingPhoneReply) String() string
func (*BindingPhoneReply) Validate ¶
func (m *BindingPhoneReply) Validate() error
Validate checks the field values on BindingPhoneReply 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 (*BindingPhoneReply) ValidateAll ¶
func (m *BindingPhoneReply) ValidateAll() error
ValidateAll checks the field values on BindingPhoneReply 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 BindingPhoneReplyMultiError, or nil if none found.
type BindingPhoneReplyMultiError ¶
type BindingPhoneReplyMultiError []error
BindingPhoneReplyMultiError is an error wrapping multiple validation errors returned by BindingPhoneReply.ValidateAll() if the designated constraints aren't met.
func (BindingPhoneReplyMultiError) AllErrors ¶
func (m BindingPhoneReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BindingPhoneReplyMultiError) Error ¶
func (m BindingPhoneReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BindingPhoneReplyValidationError ¶
type BindingPhoneReplyValidationError struct {
// contains filtered or unexported fields
}
BindingPhoneReplyValidationError is the validation error returned by BindingPhoneReply.Validate if the designated constraints aren't met.
func (BindingPhoneReplyValidationError) Cause ¶
func (e BindingPhoneReplyValidationError) Cause() error
Cause function returns cause value.
func (BindingPhoneReplyValidationError) Error ¶
func (e BindingPhoneReplyValidationError) Error() string
Error satisfies the builtin error interface
func (BindingPhoneReplyValidationError) ErrorName ¶
func (e BindingPhoneReplyValidationError) ErrorName() string
ErrorName returns error name.
func (BindingPhoneReplyValidationError) Field ¶
func (e BindingPhoneReplyValidationError) Field() string
Field function returns field value.
func (BindingPhoneReplyValidationError) Key ¶
func (e BindingPhoneReplyValidationError) Key() bool
Key function returns key value.
func (BindingPhoneReplyValidationError) Reason ¶
func (e BindingPhoneReplyValidationError) Reason() string
Reason function returns reason value.
type BindingPhoneRequest ¶
type BindingPhoneRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` //租户主键 Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` //短信的key Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` //短信编码 Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"` //手机号 // contains filtered or unexported fields }
绑定手机号 -------------------------------------------
func (*BindingPhoneRequest) Descriptor
deprecated
func (*BindingPhoneRequest) Descriptor() ([]byte, []int)
Deprecated: Use BindingPhoneRequest.ProtoReflect.Descriptor instead.
func (*BindingPhoneRequest) GetCode ¶
func (x *BindingPhoneRequest) GetCode() string
func (*BindingPhoneRequest) GetId ¶
func (x *BindingPhoneRequest) GetId() string
func (*BindingPhoneRequest) GetKey ¶
func (x *BindingPhoneRequest) GetKey() string
func (*BindingPhoneRequest) GetPhone ¶
func (x *BindingPhoneRequest) GetPhone() string
func (*BindingPhoneRequest) ProtoMessage ¶
func (*BindingPhoneRequest) ProtoMessage()
func (*BindingPhoneRequest) ProtoReflect ¶
func (x *BindingPhoneRequest) ProtoReflect() protoreflect.Message
func (*BindingPhoneRequest) Reset ¶
func (x *BindingPhoneRequest) Reset()
func (*BindingPhoneRequest) String ¶
func (x *BindingPhoneRequest) String() string
func (*BindingPhoneRequest) Validate ¶
func (m *BindingPhoneRequest) Validate() error
Validate checks the field values on BindingPhoneRequest 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 (*BindingPhoneRequest) ValidateAll ¶
func (m *BindingPhoneRequest) ValidateAll() error
ValidateAll checks the field values on BindingPhoneRequest 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 BindingPhoneRequestMultiError, or nil if none found.
type BindingPhoneRequestMultiError ¶
type BindingPhoneRequestMultiError []error
BindingPhoneRequestMultiError is an error wrapping multiple validation errors returned by BindingPhoneRequest.ValidateAll() if the designated constraints aren't met.
func (BindingPhoneRequestMultiError) AllErrors ¶
func (m BindingPhoneRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BindingPhoneRequestMultiError) Error ¶
func (m BindingPhoneRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BindingPhoneRequestValidationError ¶
type BindingPhoneRequestValidationError struct {
// contains filtered or unexported fields
}
BindingPhoneRequestValidationError is the validation error returned by BindingPhoneRequest.Validate if the designated constraints aren't met.
func (BindingPhoneRequestValidationError) Cause ¶
func (e BindingPhoneRequestValidationError) Cause() error
Cause function returns cause value.
func (BindingPhoneRequestValidationError) Error ¶
func (e BindingPhoneRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BindingPhoneRequestValidationError) ErrorName ¶
func (e BindingPhoneRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BindingPhoneRequestValidationError) Field ¶
func (e BindingPhoneRequestValidationError) Field() string
Field function returns field value.
func (BindingPhoneRequestValidationError) Key ¶
func (e BindingPhoneRequestValidationError) Key() bool
Key function returns key value.
func (BindingPhoneRequestValidationError) Reason ¶
func (e BindingPhoneRequestValidationError) Reason() string
Reason function returns reason value.
type CreateReply ¶
type CreateReply struct {
// contains filtered or unexported fields
}
func (*CreateReply) Descriptor
deprecated
func (*CreateReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateReply.ProtoReflect.Descriptor instead.
func (*CreateReply) ProtoMessage ¶
func (*CreateReply) ProtoMessage()
func (*CreateReply) ProtoReflect ¶
func (x *CreateReply) ProtoReflect() protoreflect.Message
func (*CreateReply) Reset ¶
func (x *CreateReply) Reset()
func (*CreateReply) String ¶
func (x *CreateReply) String() string
func (*CreateReply) Validate ¶
func (m *CreateReply) Validate() error
Validate checks the field values on CreateReply 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 (*CreateReply) ValidateAll ¶
func (m *CreateReply) ValidateAll() error
ValidateAll checks the field values on CreateReply 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 CreateReplyMultiError, or nil if none found.
type CreateReplyMultiError ¶
type CreateReplyMultiError []error
CreateReplyMultiError is an error wrapping multiple validation errors returned by CreateReply.ValidateAll() if the designated constraints aren't met.
func (CreateReplyMultiError) AllErrors ¶
func (m CreateReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateReplyMultiError) Error ¶
func (m CreateReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateReplyValidationError ¶
type CreateReplyValidationError struct {
// contains filtered or unexported fields
}
CreateReplyValidationError is the validation error returned by CreateReply.Validate if the designated constraints aren't met.
func (CreateReplyValidationError) Cause ¶
func (e CreateReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateReplyValidationError) Error ¶
func (e CreateReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateReplyValidationError) ErrorName ¶
func (e CreateReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateReplyValidationError) Field ¶
func (e CreateReplyValidationError) Field() string
Field function returns field value.
func (CreateReplyValidationError) Key ¶
func (e CreateReplyValidationError) Key() bool
Key function returns key value.
func (CreateReplyValidationError) Reason ¶
func (e CreateReplyValidationError) Reason() string
Reason function returns reason value.
type CreateRequest ¶
type CreateRequest 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"` //租户名称 PackageType string `protobuf:"bytes,3,opt,name=packageType,proto3" json:"packageType,omitempty"` //套餐类型 MaxNumber int64 `protobuf:"varint,4,opt,name=maxNumber,proto3" json:"maxNumber,omitempty"` // 最大租户数 MaxGroupNumber int64 `protobuf:"varint,5,opt,name=maxGroupNumber,proto3" json:"maxGroupNumber,omitempty"` //最大群人数 Status int32 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"` //状态,1,可用,0未开通,2过期 StartTime int64 `protobuf:"varint,7,opt,name=startTime,proto3" json:"startTime,omitempty"` //开始时间 EndTime int64 `protobuf:"varint,8,opt,name=endTime,proto3" json:"endTime,omitempty"` //结束时间 AssociatedUserID string `protobuf:"bytes,9,opt,name=associatedUserID,proto3" json:"associatedUserID,omitempty"` // 租户id Phone string `protobuf:"bytes,10,opt,name=phone,proto3" json:"phone,omitempty"` //手机号 PubKey string `protobuf:"bytes,11,opt,name=pubKey,proto3" json:"pubKey,omitempty"` //公钥 PriKey string `protobuf:"bytes,12,opt,name=priKey,proto3" json:"priKey,omitempty"` //私钥 // contains filtered or unexported fields }
创建租户 -------------------------------------------
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetAssociatedUserID ¶
func (x *CreateRequest) GetAssociatedUserID() string
func (*CreateRequest) GetEndTime ¶
func (x *CreateRequest) GetEndTime() int64
func (*CreateRequest) GetId ¶
func (x *CreateRequest) GetId() string
func (*CreateRequest) GetMaxGroupNumber ¶
func (x *CreateRequest) GetMaxGroupNumber() int64
func (*CreateRequest) GetMaxNumber ¶
func (x *CreateRequest) GetMaxNumber() int64
func (*CreateRequest) GetName ¶
func (x *CreateRequest) GetName() string
func (*CreateRequest) GetPackageType ¶
func (x *CreateRequest) GetPackageType() string
func (*CreateRequest) GetPhone ¶
func (x *CreateRequest) GetPhone() string
func (*CreateRequest) GetPriKey ¶
func (x *CreateRequest) GetPriKey() string
func (*CreateRequest) GetPubKey ¶
func (x *CreateRequest) GetPubKey() string
func (*CreateRequest) GetStartTime ¶
func (x *CreateRequest) GetStartTime() int64
func (*CreateRequest) GetStatus ¶
func (x *CreateRequest) GetStatus() int32
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
func (*CreateRequest) Validate ¶
func (m *CreateRequest) Validate() error
Validate checks the field values on CreateRequest 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 (*CreateRequest) ValidateAll ¶
func (m *CreateRequest) ValidateAll() error
ValidateAll checks the field values on CreateRequest 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 CreateRequestMultiError, or nil if none found.
type CreateRequestMultiError ¶
type CreateRequestMultiError []error
CreateRequestMultiError is an error wrapping multiple validation errors returned by CreateRequest.ValidateAll() if the designated constraints aren't met.
func (CreateRequestMultiError) AllErrors ¶
func (m CreateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateRequestMultiError) Error ¶
func (m CreateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateRequestValidationError ¶
type CreateRequestValidationError struct {
// contains filtered or unexported fields
}
CreateRequestValidationError is the validation error returned by CreateRequest.Validate if the designated constraints aren't met.
func (CreateRequestValidationError) Cause ¶
func (e CreateRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateRequestValidationError) Error ¶
func (e CreateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateRequestValidationError) ErrorName ¶
func (e CreateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateRequestValidationError) Field ¶
func (e CreateRequestValidationError) Field() string
Field function returns field value.
func (CreateRequestValidationError) Key ¶
func (e CreateRequestValidationError) Key() bool
Key function returns key value.
func (CreateRequestValidationError) Reason ¶
func (e CreateRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteReply ¶
type DeleteReply struct {
// contains filtered or unexported fields
}
func (*DeleteReply) Descriptor
deprecated
func (*DeleteReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteReply.ProtoReflect.Descriptor instead.
func (*DeleteReply) ProtoMessage ¶
func (*DeleteReply) ProtoMessage()
func (*DeleteReply) ProtoReflect ¶
func (x *DeleteReply) ProtoReflect() protoreflect.Message
func (*DeleteReply) Reset ¶
func (x *DeleteReply) Reset()
func (*DeleteReply) String ¶
func (x *DeleteReply) String() string
func (*DeleteReply) Validate ¶
func (m *DeleteReply) Validate() error
Validate checks the field values on DeleteReply 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 (*DeleteReply) ValidateAll ¶
func (m *DeleteReply) ValidateAll() error
ValidateAll checks the field values on DeleteReply 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 DeleteReplyMultiError, or nil if none found.
type DeleteReplyMultiError ¶
type DeleteReplyMultiError []error
DeleteReplyMultiError is an error wrapping multiple validation errors returned by DeleteReply.ValidateAll() if the designated constraints aren't met.
func (DeleteReplyMultiError) AllErrors ¶
func (m DeleteReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteReplyMultiError) Error ¶
func (m DeleteReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteReplyValidationError ¶
type DeleteReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteReplyValidationError is the validation error returned by DeleteReply.Validate if the designated constraints aren't met.
func (DeleteReplyValidationError) Cause ¶
func (e DeleteReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteReplyValidationError) Error ¶
func (e DeleteReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteReplyValidationError) ErrorName ¶
func (e DeleteReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteReplyValidationError) Field ¶
func (e DeleteReplyValidationError) Field() string
Field function returns field value.
func (DeleteReplyValidationError) Key ¶
func (e DeleteReplyValidationError) Key() bool
Key function returns key value.
func (DeleteReplyValidationError) Reason ¶
func (e DeleteReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteRequest ¶
type DeleteRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` //租户主键 // contains filtered or unexported fields }
删除租户 -------------------------------------------
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetId ¶
func (x *DeleteRequest) GetId() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
func (*DeleteRequest) Validate ¶
func (m *DeleteRequest) Validate() error
Validate checks the field values on DeleteRequest 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 (*DeleteRequest) ValidateAll ¶
func (m *DeleteRequest) ValidateAll() error
ValidateAll checks the field values on DeleteRequest 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 DeleteRequestMultiError, or nil if none found.
type DeleteRequestMultiError ¶
type DeleteRequestMultiError []error
DeleteRequestMultiError is an error wrapping multiple validation errors returned by DeleteRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteRequestMultiError) AllErrors ¶
func (m DeleteRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRequestMultiError) Error ¶
func (m DeleteRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRequestValidationError ¶
type DeleteRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteRequestValidationError is the validation error returned by DeleteRequest.Validate if the designated constraints aren't met.
func (DeleteRequestValidationError) Cause ¶
func (e DeleteRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteRequestValidationError) Error ¶
func (e DeleteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRequestValidationError) ErrorName ¶
func (e DeleteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRequestValidationError) Field ¶
func (e DeleteRequestValidationError) Field() string
Field function returns field value.
func (DeleteRequestValidationError) Key ¶
func (e DeleteRequestValidationError) Key() bool
Key function returns key value.
func (DeleteRequestValidationError) Reason ¶
func (e DeleteRequestValidationError) Reason() string
Reason function returns reason value.
type FindByAssociatedUsersIDReply ¶
type FindByAssociatedUsersIDReply struct { Data *Tenant `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*FindByAssociatedUsersIDReply) Descriptor
deprecated
func (*FindByAssociatedUsersIDReply) Descriptor() ([]byte, []int)
Deprecated: Use FindByAssociatedUsersIDReply.ProtoReflect.Descriptor instead.
func (*FindByAssociatedUsersIDReply) GetData ¶
func (x *FindByAssociatedUsersIDReply) GetData() *Tenant
func (*FindByAssociatedUsersIDReply) ProtoMessage ¶
func (*FindByAssociatedUsersIDReply) ProtoMessage()
func (*FindByAssociatedUsersIDReply) ProtoReflect ¶
func (x *FindByAssociatedUsersIDReply) ProtoReflect() protoreflect.Message
func (*FindByAssociatedUsersIDReply) Reset ¶
func (x *FindByAssociatedUsersIDReply) Reset()
func (*FindByAssociatedUsersIDReply) String ¶
func (x *FindByAssociatedUsersIDReply) String() string
func (*FindByAssociatedUsersIDReply) Validate ¶
func (m *FindByAssociatedUsersIDReply) Validate() error
Validate checks the field values on FindByAssociatedUsersIDReply 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 (*FindByAssociatedUsersIDReply) ValidateAll ¶
func (m *FindByAssociatedUsersIDReply) ValidateAll() error
ValidateAll checks the field values on FindByAssociatedUsersIDReply 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 FindByAssociatedUsersIDReplyMultiError, or nil if none found.
type FindByAssociatedUsersIDReplyMultiError ¶
type FindByAssociatedUsersIDReplyMultiError []error
FindByAssociatedUsersIDReplyMultiError is an error wrapping multiple validation errors returned by FindByAssociatedUsersIDReply.ValidateAll() if the designated constraints aren't met.
func (FindByAssociatedUsersIDReplyMultiError) AllErrors ¶
func (m FindByAssociatedUsersIDReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FindByAssociatedUsersIDReplyMultiError) Error ¶
func (m FindByAssociatedUsersIDReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FindByAssociatedUsersIDReplyValidationError ¶
type FindByAssociatedUsersIDReplyValidationError struct {
// contains filtered or unexported fields
}
FindByAssociatedUsersIDReplyValidationError is the validation error returned by FindByAssociatedUsersIDReply.Validate if the designated constraints aren't met.
func (FindByAssociatedUsersIDReplyValidationError) Cause ¶
func (e FindByAssociatedUsersIDReplyValidationError) Cause() error
Cause function returns cause value.
func (FindByAssociatedUsersIDReplyValidationError) Error ¶
func (e FindByAssociatedUsersIDReplyValidationError) Error() string
Error satisfies the builtin error interface
func (FindByAssociatedUsersIDReplyValidationError) ErrorName ¶
func (e FindByAssociatedUsersIDReplyValidationError) ErrorName() string
ErrorName returns error name.
func (FindByAssociatedUsersIDReplyValidationError) Field ¶
func (e FindByAssociatedUsersIDReplyValidationError) Field() string
Field function returns field value.
func (FindByAssociatedUsersIDReplyValidationError) Key ¶
func (e FindByAssociatedUsersIDReplyValidationError) Key() bool
Key function returns key value.
func (FindByAssociatedUsersIDReplyValidationError) Reason ¶
func (e FindByAssociatedUsersIDReplyValidationError) Reason() string
Reason function returns reason value.
type FindByAssociatedUsersIDRequest ¶
type FindByAssociatedUsersIDRequest struct { AssociatedUsersID string `protobuf:"bytes,1,opt,name=associatedUsersID,proto3" json:"associatedUsersID,omitempty"` //租户主键 // contains filtered or unexported fields }
根据创建租户id获取租户 -------------------------------------------
func (*FindByAssociatedUsersIDRequest) Descriptor
deprecated
func (*FindByAssociatedUsersIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindByAssociatedUsersIDRequest.ProtoReflect.Descriptor instead.
func (*FindByAssociatedUsersIDRequest) GetAssociatedUsersID ¶
func (x *FindByAssociatedUsersIDRequest) GetAssociatedUsersID() string
func (*FindByAssociatedUsersIDRequest) ProtoMessage ¶
func (*FindByAssociatedUsersIDRequest) ProtoMessage()
func (*FindByAssociatedUsersIDRequest) ProtoReflect ¶
func (x *FindByAssociatedUsersIDRequest) ProtoReflect() protoreflect.Message
func (*FindByAssociatedUsersIDRequest) Reset ¶
func (x *FindByAssociatedUsersIDRequest) Reset()
func (*FindByAssociatedUsersIDRequest) String ¶
func (x *FindByAssociatedUsersIDRequest) String() string
func (*FindByAssociatedUsersIDRequest) Validate ¶
func (m *FindByAssociatedUsersIDRequest) Validate() error
Validate checks the field values on FindByAssociatedUsersIDRequest 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 (*FindByAssociatedUsersIDRequest) ValidateAll ¶
func (m *FindByAssociatedUsersIDRequest) ValidateAll() error
ValidateAll checks the field values on FindByAssociatedUsersIDRequest 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 FindByAssociatedUsersIDRequestMultiError, or nil if none found.
type FindByAssociatedUsersIDRequestMultiError ¶
type FindByAssociatedUsersIDRequestMultiError []error
FindByAssociatedUsersIDRequestMultiError is an error wrapping multiple validation errors returned by FindByAssociatedUsersIDRequest.ValidateAll() if the designated constraints aren't met.
func (FindByAssociatedUsersIDRequestMultiError) AllErrors ¶
func (m FindByAssociatedUsersIDRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FindByAssociatedUsersIDRequestMultiError) Error ¶
func (m FindByAssociatedUsersIDRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FindByAssociatedUsersIDRequestValidationError ¶
type FindByAssociatedUsersIDRequestValidationError struct {
// contains filtered or unexported fields
}
FindByAssociatedUsersIDRequestValidationError is the validation error returned by FindByAssociatedUsersIDRequest.Validate if the designated constraints aren't met.
func (FindByAssociatedUsersIDRequestValidationError) Cause ¶
func (e FindByAssociatedUsersIDRequestValidationError) Cause() error
Cause function returns cause value.
func (FindByAssociatedUsersIDRequestValidationError) Error ¶
func (e FindByAssociatedUsersIDRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FindByAssociatedUsersIDRequestValidationError) ErrorName ¶
func (e FindByAssociatedUsersIDRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FindByAssociatedUsersIDRequestValidationError) Field ¶
func (e FindByAssociatedUsersIDRequestValidationError) Field() string
Field function returns field value.
func (FindByAssociatedUsersIDRequestValidationError) Key ¶
func (e FindByAssociatedUsersIDRequestValidationError) Key() bool
Key function returns key value.
func (FindByAssociatedUsersIDRequestValidationError) Reason ¶
func (e FindByAssociatedUsersIDRequestValidationError) Reason() string
Reason function returns reason value.
type FindByIDReply ¶
type FindByIDReply struct { Data *Tenant `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*FindByIDReply) Descriptor
deprecated
func (*FindByIDReply) Descriptor() ([]byte, []int)
Deprecated: Use FindByIDReply.ProtoReflect.Descriptor instead.
func (*FindByIDReply) GetData ¶
func (x *FindByIDReply) GetData() *Tenant
func (*FindByIDReply) ProtoMessage ¶
func (*FindByIDReply) ProtoMessage()
func (*FindByIDReply) ProtoReflect ¶
func (x *FindByIDReply) ProtoReflect() protoreflect.Message
func (*FindByIDReply) Reset ¶
func (x *FindByIDReply) Reset()
func (*FindByIDReply) String ¶
func (x *FindByIDReply) String() string
func (*FindByIDReply) Validate ¶
func (m *FindByIDReply) Validate() error
Validate checks the field values on FindByIDReply 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 (*FindByIDReply) ValidateAll ¶
func (m *FindByIDReply) ValidateAll() error
ValidateAll checks the field values on FindByIDReply 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 FindByIDReplyMultiError, or nil if none found.
type FindByIDReplyMultiError ¶
type FindByIDReplyMultiError []error
FindByIDReplyMultiError is an error wrapping multiple validation errors returned by FindByIDReply.ValidateAll() if the designated constraints aren't met.
func (FindByIDReplyMultiError) AllErrors ¶
func (m FindByIDReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FindByIDReplyMultiError) Error ¶
func (m FindByIDReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FindByIDReplyValidationError ¶
type FindByIDReplyValidationError struct {
// contains filtered or unexported fields
}
FindByIDReplyValidationError is the validation error returned by FindByIDReply.Validate if the designated constraints aren't met.
func (FindByIDReplyValidationError) Cause ¶
func (e FindByIDReplyValidationError) Cause() error
Cause function returns cause value.
func (FindByIDReplyValidationError) Error ¶
func (e FindByIDReplyValidationError) Error() string
Error satisfies the builtin error interface
func (FindByIDReplyValidationError) ErrorName ¶
func (e FindByIDReplyValidationError) ErrorName() string
ErrorName returns error name.
func (FindByIDReplyValidationError) Field ¶
func (e FindByIDReplyValidationError) Field() string
Field function returns field value.
func (FindByIDReplyValidationError) Key ¶
func (e FindByIDReplyValidationError) Key() bool
Key function returns key value.
func (FindByIDReplyValidationError) Reason ¶
func (e FindByIDReplyValidationError) Reason() string
Reason function returns reason value.
type FindByIDRequest ¶
type FindByIDRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` //租户主键 // contains filtered or unexported fields }
根据id获取租户 -------------------------------------------
func (*FindByIDRequest) Descriptor
deprecated
func (*FindByIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindByIDRequest.ProtoReflect.Descriptor instead.
func (*FindByIDRequest) GetId ¶
func (x *FindByIDRequest) GetId() string
func (*FindByIDRequest) ProtoMessage ¶
func (*FindByIDRequest) ProtoMessage()
func (*FindByIDRequest) ProtoReflect ¶
func (x *FindByIDRequest) ProtoReflect() protoreflect.Message
func (*FindByIDRequest) Reset ¶
func (x *FindByIDRequest) Reset()
func (*FindByIDRequest) String ¶
func (x *FindByIDRequest) String() string
func (*FindByIDRequest) Validate ¶
func (m *FindByIDRequest) Validate() error
Validate checks the field values on FindByIDRequest 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 (*FindByIDRequest) ValidateAll ¶
func (m *FindByIDRequest) ValidateAll() error
ValidateAll checks the field values on FindByIDRequest 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 FindByIDRequestMultiError, or nil if none found.
type FindByIDRequestMultiError ¶
type FindByIDRequestMultiError []error
FindByIDRequestMultiError is an error wrapping multiple validation errors returned by FindByIDRequest.ValidateAll() if the designated constraints aren't met.
func (FindByIDRequestMultiError) AllErrors ¶
func (m FindByIDRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FindByIDRequestMultiError) Error ¶
func (m FindByIDRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FindByIDRequestValidationError ¶
type FindByIDRequestValidationError struct {
// contains filtered or unexported fields
}
FindByIDRequestValidationError is the validation error returned by FindByIDRequest.Validate if the designated constraints aren't met.
func (FindByIDRequestValidationError) Cause ¶
func (e FindByIDRequestValidationError) Cause() error
Cause function returns cause value.
func (FindByIDRequestValidationError) Error ¶
func (e FindByIDRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FindByIDRequestValidationError) ErrorName ¶
func (e FindByIDRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FindByIDRequestValidationError) Field ¶
func (e FindByIDRequestValidationError) Field() string
Field function returns field value.
func (FindByIDRequestValidationError) Key ¶
func (e FindByIDRequestValidationError) Key() bool
Key function returns key value.
func (FindByIDRequestValidationError) Reason ¶
func (e FindByIDRequestValidationError) Reason() string
Reason function returns reason value.
type GetListReply ¶
type GetListReply struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // 总计条数 List []*Tenant `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*GetListReply) Descriptor
deprecated
func (*GetListReply) Descriptor() ([]byte, []int)
Deprecated: Use GetListReply.ProtoReflect.Descriptor instead.
func (*GetListReply) GetList ¶
func (x *GetListReply) GetList() []*Tenant
func (*GetListReply) GetTotal ¶
func (x *GetListReply) GetTotal() int64
func (*GetListReply) ProtoMessage ¶
func (*GetListReply) ProtoMessage()
func (*GetListReply) ProtoReflect ¶
func (x *GetListReply) ProtoReflect() protoreflect.Message
func (*GetListReply) Reset ¶
func (x *GetListReply) Reset()
func (*GetListReply) String ¶
func (x *GetListReply) String() string
func (*GetListReply) Validate ¶
func (m *GetListReply) Validate() error
Validate checks the field values on GetListReply 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 (*GetListReply) ValidateAll ¶
func (m *GetListReply) ValidateAll() error
ValidateAll checks the field values on GetListReply 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 GetListReplyMultiError, or nil if none found.
type GetListReplyMultiError ¶
type GetListReplyMultiError []error
GetListReplyMultiError is an error wrapping multiple validation errors returned by GetListReply.ValidateAll() if the designated constraints aren't met.
func (GetListReplyMultiError) AllErrors ¶
func (m GetListReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetListReplyMultiError) Error ¶
func (m GetListReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetListReplyValidationError ¶
type GetListReplyValidationError struct {
// contains filtered or unexported fields
}
GetListReplyValidationError is the validation error returned by GetListReply.Validate if the designated constraints aren't met.
func (GetListReplyValidationError) Cause ¶
func (e GetListReplyValidationError) Cause() error
Cause function returns cause value.
func (GetListReplyValidationError) Error ¶
func (e GetListReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetListReplyValidationError) ErrorName ¶
func (e GetListReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetListReplyValidationError) Field ¶
func (e GetListReplyValidationError) Field() string
Field function returns field value.
func (GetListReplyValidationError) Key ¶
func (e GetListReplyValidationError) Key() bool
Key function returns key value.
func (GetListReplyValidationError) Reason ¶
func (e GetListReplyValidationError) Reason() string
Reason function returns reason value.
type GetListRequest ¶
type GetListRequest struct { Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` //租户主键 Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` //租户名称 PackageType *string `protobuf:"bytes,3,opt,name=packageType,proto3,oneof" json:"packageType,omitempty"` //套餐类型 Status *int32 `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"` //状态,1,可用,0未开通,2过期 Pagination *v2.Pagination `protobuf:"bytes,5,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
根据id获取租户 -------------------------------------------
func (*GetListRequest) Descriptor
deprecated
func (*GetListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetListRequest.ProtoReflect.Descriptor instead.
func (*GetListRequest) GetId ¶
func (x *GetListRequest) GetId() string
func (*GetListRequest) GetName ¶
func (x *GetListRequest) GetName() string
func (*GetListRequest) GetPackageType ¶
func (x *GetListRequest) GetPackageType() string
func (*GetListRequest) GetPagination ¶
func (x *GetListRequest) GetPagination() *v2.Pagination
func (*GetListRequest) GetStatus ¶
func (x *GetListRequest) GetStatus() int32
func (*GetListRequest) ProtoMessage ¶
func (*GetListRequest) ProtoMessage()
func (*GetListRequest) ProtoReflect ¶
func (x *GetListRequest) ProtoReflect() protoreflect.Message
func (*GetListRequest) Reset ¶
func (x *GetListRequest) Reset()
func (*GetListRequest) String ¶
func (x *GetListRequest) String() string
func (*GetListRequest) Validate ¶
func (m *GetListRequest) Validate() error
Validate checks the field values on GetListRequest 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 (*GetListRequest) ValidateAll ¶
func (m *GetListRequest) ValidateAll() error
ValidateAll checks the field values on GetListRequest 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 GetListRequestMultiError, or nil if none found.
type GetListRequestMultiError ¶
type GetListRequestMultiError []error
GetListRequestMultiError is an error wrapping multiple validation errors returned by GetListRequest.ValidateAll() if the designated constraints aren't met.
func (GetListRequestMultiError) AllErrors ¶
func (m GetListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetListRequestMultiError) Error ¶
func (m GetListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetListRequestValidationError ¶
type GetListRequestValidationError struct {
// contains filtered or unexported fields
}
GetListRequestValidationError is the validation error returned by GetListRequest.Validate if the designated constraints aren't met.
func (GetListRequestValidationError) Cause ¶
func (e GetListRequestValidationError) Cause() error
Cause function returns cause value.
func (GetListRequestValidationError) Error ¶
func (e GetListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetListRequestValidationError) ErrorName ¶
func (e GetListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetListRequestValidationError) Field ¶
func (e GetListRequestValidationError) Field() string
Field function returns field value.
func (GetListRequestValidationError) Key ¶
func (e GetListRequestValidationError) Key() bool
Key function returns key value.
func (GetListRequestValidationError) Reason ¶
func (e GetListRequestValidationError) Reason() string
Reason function returns reason value.
type Tenant ¶
type Tenant struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` //租户主键 CreatedAt int64 `protobuf:"varint,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //创建时间 UpdatedAt int64 `protobuf:"varint,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` //创建时间 DeletedAt int64 `protobuf:"varint,4,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"` //删除时间 AssociatedUsersID string `protobuf:"bytes,5,opt,name=associatedUsersID,proto3" json:"associatedUsersID,omitempty"` //开通租户id Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` //租户名称 Logo string `protobuf:"bytes,7,opt,name=logo,proto3" json:"logo,omitempty"` //租户logo Introduce string `protobuf:"bytes,8,opt,name=introduce,proto3" json:"introduce,omitempty"` //简介 WebsiteAddress string `protobuf:"bytes,9,opt,name=websiteAddress,proto3" json:"websiteAddress,omitempty"` //网站地址 WebsiteStatus int32 `protobuf:"varint,10,opt,name=websiteStatus,proto3" json:"websiteStatus,omitempty"` //网站状态1,申请中,0未开通,2:可用 PackageType string `protobuf:"bytes,11,opt,name=packageType,proto3" json:"packageType,omitempty"` //套餐类型 MaxNumber int64 `protobuf:"varint,12,opt,name=maxNumber,proto3" json:"maxNumber,omitempty"` // 最大租户数 MaxGroupNumber int64 `protobuf:"varint,13,opt,name=maxGroupNumber,proto3" json:"maxGroupNumber,omitempty"` //最大群人数 Phone string `protobuf:"bytes,14,opt,name=phone,proto3" json:"phone,omitempty"` //手机号 Status int32 `protobuf:"varint,15,opt,name=status,proto3" json:"status,omitempty"` //状态,1,可用,0未开通,2过期 StartTime int64 `protobuf:"varint,16,opt,name=startTime,proto3" json:"startTime,omitempty"` //开始时间 EndTime int64 `protobuf:"varint,17,opt,name=endTime,proto3" json:"endTime,omitempty"` //结束时间 Code string `protobuf:"bytes,18,opt,name=code,proto3" json:"code,omitempty"` //租户名称 // contains filtered or unexported fields }
租户信息
func (*Tenant) Descriptor
deprecated
func (*Tenant) GetAssociatedUsersID ¶
func (*Tenant) GetCreatedAt ¶
func (*Tenant) GetDeletedAt ¶
func (*Tenant) GetEndTime ¶
func (*Tenant) GetIntroduce ¶
func (*Tenant) GetMaxGroupNumber ¶
func (*Tenant) GetMaxNumber ¶
func (*Tenant) GetPackageType ¶
func (*Tenant) GetStartTime ¶
func (*Tenant) GetUpdatedAt ¶
func (*Tenant) GetWebsiteAddress ¶
func (*Tenant) GetWebsiteStatus ¶
func (*Tenant) ProtoMessage ¶
func (*Tenant) ProtoMessage()
func (*Tenant) ProtoReflect ¶
func (x *Tenant) ProtoReflect() protoreflect.Message
func (*Tenant) Validate ¶
Validate checks the field values on Tenant 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 (*Tenant) ValidateAll ¶
ValidateAll checks the field values on Tenant 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 TenantMultiError, or nil if none found.
type TenantClient ¶
type TenantClient interface { // 套餐申请 Application(ctx context.Context, in *ApplicationRequest, opts ...grpc.CallOption) (*ApplicationReply, error) // 创建租户 Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateReply, error) // 更新租户 Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateReply, error) // 绑定手机号 BindingPhone(ctx context.Context, in *BindingPhoneRequest, opts ...grpc.CallOption) (*BindingPhoneReply, error) // 删除租户 Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteReply, error) // 查询租户 FindByID(ctx context.Context, in *FindByIDRequest, opts ...grpc.CallOption) (*FindByIDReply, error) // 获取网站地址 WebsitePath(ctx context.Context, in *WebsitePathRequest, opts ...grpc.CallOption) (*WebsitePathReply, error) // 获取租户列表 GetList(ctx context.Context, in *GetListRequest, opts ...grpc.CallOption) (*GetListReply, error) // 根据创建租户id获取租户 FindByAssociatedUsersID(ctx context.Context, in *FindByAssociatedUsersIDRequest, opts ...grpc.CallOption) (*FindByAssociatedUsersIDReply, error) // 网站申请 WebsiteApplication(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) }
TenantClient is the client API for Tenant 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 NewTenantClient ¶
func NewTenantClient(cc grpc.ClientConnInterface) TenantClient
type TenantErrorReason ¶
type TenantErrorReason int32
const ( // 创建租户失败 TenantErrorReason_CREATE_TENANT_ERROR TenantErrorReason = 0 // 更新租户信息失败 TenantErrorReason_UPDATE_TENANT_ERROR TenantErrorReason = 1 // 绑定手机号失败 TenantErrorReason_BINDING_PHONE_ERROR TenantErrorReason = 2 // 删除租户 TenantErrorReason_DELETE_TENANT_ERROR TenantErrorReason = 3 // 查询租户失败 TenantErrorReason_FIND_TENANT_BY_ID_ERROR TenantErrorReason = 4 // 获取租户列表失败 TenantErrorReason_GET_TENANT_LIST_ERROR TenantErrorReason = 5 // 根据关联用户查询租户失败 TenantErrorReason_FIND_TENANT_BY_ASSOCIATED_USERS_ID_ERROR TenantErrorReason = 6 // 租户已存在 TenantErrorReason_TENANT_ALREADY_EXISTS TenantErrorReason = 7 // 不存在 TenantErrorReason_TENANT_NOT_FOUND TenantErrorReason = 8 // Verification code verification failed TenantErrorReason_VERIFICATION_CODE_VERIFICATION_FAILED TenantErrorReason = 9 // 序列化数据结构失败 TenantErrorReason_MARSHAL_TENANT_DATA_ENCODING_FAIL TenantErrorReason = 10 // 加密请求信息失败encryption TenantErrorReason_ENCRYPTION_REQUEST_OPTION_FAIL TenantErrorReason = 11 // 手机验证码错误 TenantErrorReason_MOBILE_VERIFICATION_CODE_ERROR TenantErrorReason = 12 // 申请参数错误 TenantErrorReason_APPLICATION_PARAMETER_ERROR TenantErrorReason = 13 // 申请失败 TenantErrorReason_APPLICATION_ERROR TenantErrorReason = 14 // 租户未开通 TenantErrorReason_TENANT_NOT_OPENED TenantErrorReason = 15 // 申请审批中 TenantErrorReason_APPLICATION_UNDER_REVIEW TenantErrorReason = 16 // 网站已开通 TenantErrorReason_THE_WEBSITE_HAS_BEEN_OPENED TenantErrorReason = 17 // 申请审核中,请勿重复提交 TenantErrorReason_TENANT_MULTIPLE_APPLICATION TenantErrorReason = 18 )
func (TenantErrorReason) Descriptor ¶
func (TenantErrorReason) Descriptor() protoreflect.EnumDescriptor
func (TenantErrorReason) Enum ¶
func (x TenantErrorReason) Enum() *TenantErrorReason
func (TenantErrorReason) EnumDescriptor
deprecated
func (TenantErrorReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use TenantErrorReason.Descriptor instead.
func (TenantErrorReason) Number ¶
func (x TenantErrorReason) Number() protoreflect.EnumNumber
func (TenantErrorReason) String ¶
func (x TenantErrorReason) String() string
func (TenantErrorReason) Type ¶
func (TenantErrorReason) Type() protoreflect.EnumType
type TenantMultiError ¶
type TenantMultiError []error
TenantMultiError is an error wrapping multiple validation errors returned by Tenant.ValidateAll() if the designated constraints aren't met.
func (TenantMultiError) AllErrors ¶
func (m TenantMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TenantMultiError) Error ¶
func (m TenantMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TenantServer ¶
type TenantServer interface { // 套餐申请 Application(context.Context, *ApplicationRequest) (*ApplicationReply, error) // 创建租户 Create(context.Context, *CreateRequest) (*CreateReply, error) // 更新租户 Update(context.Context, *UpdateRequest) (*UpdateReply, error) // 绑定手机号 BindingPhone(context.Context, *BindingPhoneRequest) (*BindingPhoneReply, error) // 删除租户 Delete(context.Context, *DeleteRequest) (*DeleteReply, error) // 查询租户 FindByID(context.Context, *FindByIDRequest) (*FindByIDReply, error) // 获取网站地址 WebsitePath(context.Context, *WebsitePathRequest) (*WebsitePathReply, error) // 获取租户列表 GetList(context.Context, *GetListRequest) (*GetListReply, error) // 根据创建租户id获取租户 FindByAssociatedUsersID(context.Context, *FindByAssociatedUsersIDRequest) (*FindByAssociatedUsersIDReply, error) // 网站申请 WebsiteApplication(context.Context, *emptypb.Empty) (*emptypb.Empty, error) // contains filtered or unexported methods }
TenantServer is the server API for Tenant service. All implementations must embed UnimplementedTenantServer for forward compatibility
type TenantValidationError ¶
type TenantValidationError struct {
// contains filtered or unexported fields
}
TenantValidationError is the validation error returned by Tenant.Validate if the designated constraints aren't met.
func (TenantValidationError) Cause ¶
func (e TenantValidationError) Cause() error
Cause function returns cause value.
func (TenantValidationError) Error ¶
func (e TenantValidationError) Error() string
Error satisfies the builtin error interface
func (TenantValidationError) ErrorName ¶
func (e TenantValidationError) ErrorName() string
ErrorName returns error name.
func (TenantValidationError) Field ¶
func (e TenantValidationError) Field() string
Field function returns field value.
func (TenantValidationError) Key ¶
func (e TenantValidationError) Key() bool
Key function returns key value.
func (TenantValidationError) Reason ¶
func (e TenantValidationError) Reason() string
Reason function returns reason value.
type UnimplementedTenantServer ¶
type UnimplementedTenantServer struct { }
UnimplementedTenantServer must be embedded to have forward compatible implementations.
func (UnimplementedTenantServer) Application ¶
func (UnimplementedTenantServer) Application(context.Context, *ApplicationRequest) (*ApplicationReply, error)
func (UnimplementedTenantServer) BindingPhone ¶
func (UnimplementedTenantServer) BindingPhone(context.Context, *BindingPhoneRequest) (*BindingPhoneReply, error)
func (UnimplementedTenantServer) Create ¶
func (UnimplementedTenantServer) Create(context.Context, *CreateRequest) (*CreateReply, error)
func (UnimplementedTenantServer) Delete ¶
func (UnimplementedTenantServer) Delete(context.Context, *DeleteRequest) (*DeleteReply, error)
func (UnimplementedTenantServer) FindByAssociatedUsersID ¶
func (UnimplementedTenantServer) FindByAssociatedUsersID(context.Context, *FindByAssociatedUsersIDRequest) (*FindByAssociatedUsersIDReply, error)
func (UnimplementedTenantServer) FindByID ¶
func (UnimplementedTenantServer) FindByID(context.Context, *FindByIDRequest) (*FindByIDReply, error)
func (UnimplementedTenantServer) GetList ¶
func (UnimplementedTenantServer) GetList(context.Context, *GetListRequest) (*GetListReply, error)
func (UnimplementedTenantServer) Update ¶
func (UnimplementedTenantServer) Update(context.Context, *UpdateRequest) (*UpdateReply, error)
func (UnimplementedTenantServer) WebsiteApplication ¶
func (UnimplementedTenantServer) WebsitePath ¶
func (UnimplementedTenantServer) WebsitePath(context.Context, *WebsitePathRequest) (*WebsitePathReply, error)
type UnsafeTenantServer ¶
type UnsafeTenantServer interface {
// contains filtered or unexported methods
}
UnsafeTenantServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TenantServer will result in compilation errors.
type UpdateReply ¶
type UpdateReply struct {
// contains filtered or unexported fields
}
func (*UpdateReply) Descriptor
deprecated
func (*UpdateReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateReply.ProtoReflect.Descriptor instead.
func (*UpdateReply) ProtoMessage ¶
func (*UpdateReply) ProtoMessage()
func (*UpdateReply) ProtoReflect ¶
func (x *UpdateReply) ProtoReflect() protoreflect.Message
func (*UpdateReply) Reset ¶
func (x *UpdateReply) Reset()
func (*UpdateReply) String ¶
func (x *UpdateReply) String() string
func (*UpdateReply) Validate ¶
func (m *UpdateReply) Validate() error
Validate checks the field values on UpdateReply 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 (*UpdateReply) ValidateAll ¶
func (m *UpdateReply) ValidateAll() error
ValidateAll checks the field values on UpdateReply 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 UpdateReplyMultiError, or nil if none found.
type UpdateReplyMultiError ¶
type UpdateReplyMultiError []error
UpdateReplyMultiError is an error wrapping multiple validation errors returned by UpdateReply.ValidateAll() if the designated constraints aren't met.
func (UpdateReplyMultiError) AllErrors ¶
func (m UpdateReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateReplyMultiError) Error ¶
func (m UpdateReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateReplyValidationError ¶
type UpdateReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateReplyValidationError is the validation error returned by UpdateReply.Validate if the designated constraints aren't met.
func (UpdateReplyValidationError) Cause ¶
func (e UpdateReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateReplyValidationError) Error ¶
func (e UpdateReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateReplyValidationError) ErrorName ¶
func (e UpdateReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateReplyValidationError) Field ¶
func (e UpdateReplyValidationError) Field() string
Field function returns field value.
func (UpdateReplyValidationError) Key ¶
func (e UpdateReplyValidationError) Key() bool
Key function returns key value.
func (UpdateReplyValidationError) Reason ¶
func (e UpdateReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateRequest ¶
type UpdateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` //租户主键 Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` //租户名称 PackageType *string `protobuf:"bytes,3,opt,name=packageType,proto3,oneof" json:"packageType,omitempty"` //套餐类型 MaxNumber *int64 `protobuf:"varint,4,opt,name=maxNumber,proto3,oneof" json:"maxNumber,omitempty"` // 最大租户数 MaxGroupNumber *int64 `protobuf:"varint,5,opt,name=maxGroupNumber,proto3,oneof" json:"maxGroupNumber,omitempty"` //最大群人数 Status *int32 `protobuf:"varint,6,opt,name=status,proto3,oneof" json:"status,omitempty"` //状态,1,可用,0未开通,2过期 StartTime *int64 `protobuf:"varint,7,opt,name=startTime,proto3,oneof" json:"startTime,omitempty"` //开始时间 EndTime *int64 `protobuf:"varint,8,opt,name=endTime,proto3,oneof" json:"endTime,omitempty"` //结束时间 Logo *string `protobuf:"bytes,9,opt,name=logo,proto3,oneof" json:"logo,omitempty"` //更换logo Introduce *string `protobuf:"bytes,10,opt,name=introduce,proto3,oneof" json:"introduce,omitempty"` //租户简介 WebsiteAddress *string `protobuf:"bytes,11,opt,name=websiteAddress,proto3,oneof" json:"websiteAddress,omitempty"` //网站地址 WebsiteStatus *int32 `protobuf:"varint,12,opt,name=websiteStatus,proto3,oneof" json:"websiteStatus,omitempty"` //网站状态 Code *string `protobuf:"bytes,13,opt,name=code,proto3,oneof" json:"code,omitempty"` //租户名称 PubKey *string `protobuf:"bytes,14,opt,name=pubKey,proto3,oneof" json:"pubKey,omitempty"` //公钥 PriKey *string `protobuf:"bytes,15,opt,name=priKey,proto3,oneof" json:"priKey,omitempty"` //私钥 AssociatedUserID *string `protobuf:"bytes,16,opt,name=associatedUserID,proto3,oneof" json:"associatedUserID,omitempty"` // 租户id Phone *string `protobuf:"bytes,17,opt,name=phone,proto3,oneof" json:"phone,omitempty"` //手机号 // contains filtered or unexported fields }
更新租户 -------------------------------------------
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetAssociatedUserID ¶
func (x *UpdateRequest) GetAssociatedUserID() string
func (*UpdateRequest) GetCode ¶
func (x *UpdateRequest) GetCode() string
func (*UpdateRequest) GetEndTime ¶
func (x *UpdateRequest) GetEndTime() int64
func (*UpdateRequest) GetId ¶
func (x *UpdateRequest) GetId() string
func (*UpdateRequest) GetIntroduce ¶
func (x *UpdateRequest) GetIntroduce() string
func (*UpdateRequest) GetLogo ¶
func (x *UpdateRequest) GetLogo() string
func (*UpdateRequest) GetMaxGroupNumber ¶
func (x *UpdateRequest) GetMaxGroupNumber() int64
func (*UpdateRequest) GetMaxNumber ¶
func (x *UpdateRequest) GetMaxNumber() int64
func (*UpdateRequest) GetName ¶
func (x *UpdateRequest) GetName() string
func (*UpdateRequest) GetPackageType ¶
func (x *UpdateRequest) GetPackageType() string
func (*UpdateRequest) GetPhone ¶
func (x *UpdateRequest) GetPhone() string
func (*UpdateRequest) GetPriKey ¶
func (x *UpdateRequest) GetPriKey() string
func (*UpdateRequest) GetPubKey ¶
func (x *UpdateRequest) GetPubKey() string
func (*UpdateRequest) GetStartTime ¶
func (x *UpdateRequest) GetStartTime() int64
func (*UpdateRequest) GetStatus ¶
func (x *UpdateRequest) GetStatus() int32
func (*UpdateRequest) GetWebsiteAddress ¶
func (x *UpdateRequest) GetWebsiteAddress() string
func (*UpdateRequest) GetWebsiteStatus ¶
func (x *UpdateRequest) GetWebsiteStatus() int32
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (x *UpdateRequest) String() string
func (*UpdateRequest) Validate ¶
func (m *UpdateRequest) Validate() error
Validate checks the field values on UpdateRequest 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 (*UpdateRequest) ValidateAll ¶
func (m *UpdateRequest) ValidateAll() error
ValidateAll checks the field values on UpdateRequest 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 UpdateRequestMultiError, or nil if none found.
type UpdateRequestMultiError ¶
type UpdateRequestMultiError []error
UpdateRequestMultiError is an error wrapping multiple validation errors returned by UpdateRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateRequestMultiError) AllErrors ¶
func (m UpdateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRequestMultiError) Error ¶
func (m UpdateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRequestValidationError ¶
type UpdateRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateRequestValidationError is the validation error returned by UpdateRequest.Validate if the designated constraints aren't met.
func (UpdateRequestValidationError) Cause ¶
func (e UpdateRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateRequestValidationError) Error ¶
func (e UpdateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRequestValidationError) ErrorName ¶
func (e UpdateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRequestValidationError) Field ¶
func (e UpdateRequestValidationError) Field() string
Field function returns field value.
func (UpdateRequestValidationError) Key ¶
func (e UpdateRequestValidationError) Key() bool
Key function returns key value.
func (UpdateRequestValidationError) Reason ¶
func (e UpdateRequestValidationError) Reason() string
Reason function returns reason value.
type WebsitePathReply ¶
type WebsitePathReply struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*WebsitePathReply) Descriptor
deprecated
func (*WebsitePathReply) Descriptor() ([]byte, []int)
Deprecated: Use WebsitePathReply.ProtoReflect.Descriptor instead.
func (*WebsitePathReply) GetUrl ¶
func (x *WebsitePathReply) GetUrl() string
func (*WebsitePathReply) ProtoMessage ¶
func (*WebsitePathReply) ProtoMessage()
func (*WebsitePathReply) ProtoReflect ¶
func (x *WebsitePathReply) ProtoReflect() protoreflect.Message
func (*WebsitePathReply) Reset ¶
func (x *WebsitePathReply) Reset()
func (*WebsitePathReply) String ¶
func (x *WebsitePathReply) String() string
func (*WebsitePathReply) Validate ¶
func (m *WebsitePathReply) Validate() error
Validate checks the field values on WebsitePathReply 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 (*WebsitePathReply) ValidateAll ¶
func (m *WebsitePathReply) ValidateAll() error
ValidateAll checks the field values on WebsitePathReply 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 WebsitePathReplyMultiError, or nil if none found.
type WebsitePathReplyMultiError ¶
type WebsitePathReplyMultiError []error
WebsitePathReplyMultiError is an error wrapping multiple validation errors returned by WebsitePathReply.ValidateAll() if the designated constraints aren't met.
func (WebsitePathReplyMultiError) AllErrors ¶
func (m WebsitePathReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WebsitePathReplyMultiError) Error ¶
func (m WebsitePathReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WebsitePathReplyValidationError ¶
type WebsitePathReplyValidationError struct {
// contains filtered or unexported fields
}
WebsitePathReplyValidationError is the validation error returned by WebsitePathReply.Validate if the designated constraints aren't met.
func (WebsitePathReplyValidationError) Cause ¶
func (e WebsitePathReplyValidationError) Cause() error
Cause function returns cause value.
func (WebsitePathReplyValidationError) Error ¶
func (e WebsitePathReplyValidationError) Error() string
Error satisfies the builtin error interface
func (WebsitePathReplyValidationError) ErrorName ¶
func (e WebsitePathReplyValidationError) ErrorName() string
ErrorName returns error name.
func (WebsitePathReplyValidationError) Field ¶
func (e WebsitePathReplyValidationError) Field() string
Field function returns field value.
func (WebsitePathReplyValidationError) Key ¶
func (e WebsitePathReplyValidationError) Key() bool
Key function returns key value.
func (WebsitePathReplyValidationError) Reason ¶
func (e WebsitePathReplyValidationError) Reason() string
Reason function returns reason value.
type WebsitePathRequest ¶
type WebsitePathRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` //租户主键 // contains filtered or unexported fields }
根据id获取网站服务 -------------------------------------------
func (*WebsitePathRequest) Descriptor
deprecated
func (*WebsitePathRequest) Descriptor() ([]byte, []int)
Deprecated: Use WebsitePathRequest.ProtoReflect.Descriptor instead.
func (*WebsitePathRequest) GetId ¶
func (x *WebsitePathRequest) GetId() string
func (*WebsitePathRequest) ProtoMessage ¶
func (*WebsitePathRequest) ProtoMessage()
func (*WebsitePathRequest) ProtoReflect ¶
func (x *WebsitePathRequest) ProtoReflect() protoreflect.Message
func (*WebsitePathRequest) Reset ¶
func (x *WebsitePathRequest) Reset()
func (*WebsitePathRequest) String ¶
func (x *WebsitePathRequest) String() string
func (*WebsitePathRequest) Validate ¶
func (m *WebsitePathRequest) Validate() error
Validate checks the field values on WebsitePathRequest 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 (*WebsitePathRequest) ValidateAll ¶
func (m *WebsitePathRequest) ValidateAll() error
ValidateAll checks the field values on WebsitePathRequest 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 WebsitePathRequestMultiError, or nil if none found.
type WebsitePathRequestMultiError ¶
type WebsitePathRequestMultiError []error
WebsitePathRequestMultiError is an error wrapping multiple validation errors returned by WebsitePathRequest.ValidateAll() if the designated constraints aren't met.
func (WebsitePathRequestMultiError) AllErrors ¶
func (m WebsitePathRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WebsitePathRequestMultiError) Error ¶
func (m WebsitePathRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WebsitePathRequestValidationError ¶
type WebsitePathRequestValidationError struct {
// contains filtered or unexported fields
}
WebsitePathRequestValidationError is the validation error returned by WebsitePathRequest.Validate if the designated constraints aren't met.
func (WebsitePathRequestValidationError) Cause ¶
func (e WebsitePathRequestValidationError) Cause() error
Cause function returns cause value.
func (WebsitePathRequestValidationError) Error ¶
func (e WebsitePathRequestValidationError) Error() string
Error satisfies the builtin error interface
func (WebsitePathRequestValidationError) ErrorName ¶
func (e WebsitePathRequestValidationError) ErrorName() string
ErrorName returns error name.
func (WebsitePathRequestValidationError) Field ¶
func (e WebsitePathRequestValidationError) Field() string
Field function returns field value.
func (WebsitePathRequestValidationError) Key ¶
func (e WebsitePathRequestValidationError) Key() bool
Key function returns key value.
func (WebsitePathRequestValidationError) Reason ¶
func (e WebsitePathRequestValidationError) Reason() string
Reason function returns reason value.