Versions in this module Expand all Collapse all v0 v0.1.0 Jun 20, 2024 Changes in this version + var File_sms_service_proto_tenant_proto protoreflect.FileDescriptor + var TenantService_ServiceDesc = grpc.ServiceDesc + func RegisterTenantServiceServer(s grpc.ServiceRegistrar, srv TenantServiceServer) + type AppInfo struct + AppId string + AppName string + ExpireDate string + Status int64 + TenantId string + func (*AppInfo) Descriptor() ([]byte, []int) + func (*AppInfo) ProtoMessage() + func (x *AppInfo) GetAppId() string + func (x *AppInfo) GetAppName() string + func (x *AppInfo) GetExpireDate() string + func (x *AppInfo) GetStatus() int64 + func (x *AppInfo) GetTenantId() string + func (x *AppInfo) ProtoReflect() protoreflect.Message + func (x *AppInfo) Reset() + func (x *AppInfo) String() string + type Apps struct + Closed []*AppInfo + Opened []*AppInfo + func (*Apps) Descriptor() ([]byte, []int) + func (*Apps) ProtoMessage() + func (x *Apps) GetClosed() []*AppInfo + func (x *Apps) GetOpened() []*AppInfo + func (x *Apps) ProtoReflect() protoreflect.Message + func (x *Apps) Reset() + func (x *Apps) String() string + type AppsReq struct + TenantId string + func (*AppsReq) Descriptor() ([]byte, []int) + func (*AppsReq) ProtoMessage() + func (x *AppsReq) GetTenantId() string + func (x *AppsReq) ProtoReflect() protoreflect.Message + func (x *AppsReq) Reset() + func (x *AppsReq) String() string + type EmptyRequest struct + func (*EmptyRequest) Descriptor() ([]byte, []int) + func (*EmptyRequest) ProtoMessage() + func (x *EmptyRequest) ProtoReflect() protoreflect.Message + func (x *EmptyRequest) Reset() + func (x *EmptyRequest) String() string + type EmptyResponse struct + func (*EmptyResponse) Descriptor() ([]byte, []int) + func (*EmptyResponse) ProtoMessage() + func (x *EmptyResponse) ProtoReflect() protoreflect.Message + func (x *EmptyResponse) Reset() + func (x *EmptyResponse) String() string + type IdList struct + Ids []string + func (*IdList) Descriptor() ([]byte, []int) + func (*IdList) ProtoMessage() + func (x *IdList) GetIds() []string + func (x *IdList) ProtoReflect() protoreflect.Message + func (x *IdList) Reset() + func (x *IdList) String() string + type TenantAppInfoUpdateReq struct + AppId string + AppJson string + SystemId string + TenantId string + func (*TenantAppInfoUpdateReq) Descriptor() ([]byte, []int) + func (*TenantAppInfoUpdateReq) ProtoMessage() + func (x *TenantAppInfoUpdateReq) GetAppId() string + func (x *TenantAppInfoUpdateReq) GetAppJson() string + func (x *TenantAppInfoUpdateReq) GetSystemId() string + func (x *TenantAppInfoUpdateReq) GetTenantId() string + func (x *TenantAppInfoUpdateReq) ProtoReflect() protoreflect.Message + func (x *TenantAppInfoUpdateReq) Reset() + func (x *TenantAppInfoUpdateReq) String() string + type TenantAppReq struct + AppCode string + AppId string + SystemId string + TenantId string + func (*TenantAppReq) Descriptor() ([]byte, []int) + func (*TenantAppReq) ProtoMessage() + func (x *TenantAppReq) GetAppCode() string + func (x *TenantAppReq) GetAppId() string + func (x *TenantAppReq) GetSystemId() string + func (x *TenantAppReq) GetTenantId() string + func (x *TenantAppReq) ProtoReflect() protoreflect.Message + func (x *TenantAppReq) Reset() + func (x *TenantAppReq) String() string + type TenantAppResp struct + AppJson string + func (*TenantAppResp) Descriptor() ([]byte, []int) + func (*TenantAppResp) ProtoMessage() + func (x *TenantAppResp) GetAppJson() string + func (x *TenantAppResp) ProtoReflect() protoreflect.Message + func (x *TenantAppResp) Reset() + func (x *TenantAppResp) String() string + type TenantAppUpdateExpiredateReq struct + AppId string + ExpireDate string + TenantId string + func (*TenantAppUpdateExpiredateReq) Descriptor() ([]byte, []int) + func (*TenantAppUpdateExpiredateReq) ProtoMessage() + func (x *TenantAppUpdateExpiredateReq) GetAppId() string + func (x *TenantAppUpdateExpiredateReq) GetExpireDate() string + func (x *TenantAppUpdateExpiredateReq) GetTenantId() string + func (x *TenantAppUpdateExpiredateReq) ProtoReflect() protoreflect.Message + func (x *TenantAppUpdateExpiredateReq) Reset() + func (x *TenantAppUpdateExpiredateReq) String() string + type TenantCreateReq struct + Account string + AccountName string + AccountPhone string + Address string + ContactEmail string + ContactPerson string + ContactPhone string + DistrictCode string + DistrictName string + ExpireDate string + Name string + Password string + Type int64 + func (*TenantCreateReq) Descriptor() ([]byte, []int) + func (*TenantCreateReq) ProtoMessage() + func (x *TenantCreateReq) GetAccount() string + func (x *TenantCreateReq) GetAccountName() string + func (x *TenantCreateReq) GetAccountPhone() string + func (x *TenantCreateReq) GetAddress() string + func (x *TenantCreateReq) GetContactEmail() string + func (x *TenantCreateReq) GetContactPerson() string + func (x *TenantCreateReq) GetContactPhone() string + func (x *TenantCreateReq) GetDistrictCode() string + func (x *TenantCreateReq) GetDistrictName() string + func (x *TenantCreateReq) GetExpireDate() string + func (x *TenantCreateReq) GetName() string + func (x *TenantCreateReq) GetPassword() string + func (x *TenantCreateReq) GetType() int64 + func (x *TenantCreateReq) ProtoReflect() protoreflect.Message + func (x *TenantCreateReq) Reset() + func (x *TenantCreateReq) String() string + type TenantDetailReq struct + Id string + func (*TenantDetailReq) Descriptor() ([]byte, []int) + func (*TenantDetailReq) ProtoMessage() + func (x *TenantDetailReq) GetId() string + func (x *TenantDetailReq) ProtoReflect() protoreflect.Message + func (x *TenantDetailReq) Reset() + func (x *TenantDetailReq) String() string + type TenantDetailResp struct + Account string + AccountName string + AccountPhone string + Address string + AdminUserId string + ContactEmail string + ContactPerson string + ContactPhone string + DistrictCode string + DistrictName string + ExpireDate string + Id string + Name string + Type int64 + func (*TenantDetailResp) Descriptor() ([]byte, []int) + func (*TenantDetailResp) ProtoMessage() + func (x *TenantDetailResp) GetAccount() string + func (x *TenantDetailResp) GetAccountName() string + func (x *TenantDetailResp) GetAccountPhone() string + func (x *TenantDetailResp) GetAddress() string + func (x *TenantDetailResp) GetAdminUserId() string + func (x *TenantDetailResp) GetContactEmail() string + func (x *TenantDetailResp) GetContactPerson() string + func (x *TenantDetailResp) GetContactPhone() string + func (x *TenantDetailResp) GetDistrictCode() string + func (x *TenantDetailResp) GetDistrictName() string + func (x *TenantDetailResp) GetExpireDate() string + func (x *TenantDetailResp) GetId() string + func (x *TenantDetailResp) GetName() string + func (x *TenantDetailResp) GetType() int64 + func (x *TenantDetailResp) ProtoReflect() protoreflect.Message + func (x *TenantDetailResp) Reset() + func (x *TenantDetailResp) String() string + type TenantInfo struct + Account string + AppCount int64 + ContactEmail string + ContactPhone string + CreateTime int64 + Id string + Name string + Status int64 + func (*TenantInfo) Descriptor() ([]byte, []int) + func (*TenantInfo) ProtoMessage() + func (x *TenantInfo) GetAccount() string + func (x *TenantInfo) GetAppCount() int64 + func (x *TenantInfo) GetContactEmail() string + func (x *TenantInfo) GetContactPhone() string + func (x *TenantInfo) GetCreateTime() int64 + func (x *TenantInfo) GetId() string + func (x *TenantInfo) GetName() string + func (x *TenantInfo) GetStatus() int64 + func (x *TenantInfo) ProtoReflect() protoreflect.Message + func (x *TenantInfo) Reset() + func (x *TenantInfo) String() string + type TenantListReq struct + Name string + PageNo int64 + PageSize int64 + Status int64 + func (*TenantListReq) Descriptor() ([]byte, []int) + func (*TenantListReq) ProtoMessage() + func (x *TenantListReq) GetName() string + func (x *TenantListReq) GetPageNo() int64 + func (x *TenantListReq) GetPageSize() int64 + func (x *TenantListReq) GetStatus() int64 + func (x *TenantListReq) ProtoReflect() protoreflect.Message + func (x *TenantListReq) Reset() + func (x *TenantListReq) String() string + type TenantListResp struct + List []*TenantInfo + PageNo int64 + PageSize int64 + Total int64 + func (*TenantListResp) Descriptor() ([]byte, []int) + func (*TenantListResp) ProtoMessage() + func (x *TenantListResp) GetList() []*TenantInfo + func (x *TenantListResp) GetPageNo() int64 + func (x *TenantListResp) GetPageSize() int64 + func (x *TenantListResp) GetTotal() int64 + func (x *TenantListResp) ProtoReflect() protoreflect.Message + func (x *TenantListResp) Reset() + func (x *TenantListResp) String() string + type TenantOpenAppReq struct + AppId string + AppJson string + SystemId string + TenantId string + func (*TenantOpenAppReq) Descriptor() ([]byte, []int) + func (*TenantOpenAppReq) ProtoMessage() + func (x *TenantOpenAppReq) GetAppId() string + func (x *TenantOpenAppReq) GetAppJson() string + func (x *TenantOpenAppReq) GetSystemId() string + func (x *TenantOpenAppReq) GetTenantId() string + func (x *TenantOpenAppReq) ProtoReflect() protoreflect.Message + func (x *TenantOpenAppReq) Reset() + func (x *TenantOpenAppReq) String() string + type TenantRemoveAppReq struct + AppId string + TenantId string + func (*TenantRemoveAppReq) Descriptor() ([]byte, []int) + func (*TenantRemoveAppReq) ProtoMessage() + func (x *TenantRemoveAppReq) GetAppId() string + func (x *TenantRemoveAppReq) GetTenantId() string + func (x *TenantRemoveAppReq) ProtoReflect() protoreflect.Message + func (x *TenantRemoveAppReq) Reset() + func (x *TenantRemoveAppReq) String() string + type TenantServiceClient interface + APPExpireDateCheck func(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*EmptyResponse, error) + TenantAppInfo func(ctx context.Context, in *TenantAppReq, opts ...grpc.CallOption) (*TenantAppResp, error) + TenantAppInfoUpdate func(ctx context.Context, in *TenantAppInfoUpdateReq, opts ...grpc.CallOption) (*EmptyResponse, error) + TenantAppUpdateExpiredate func(ctx context.Context, in *TenantAppUpdateExpiredateReq, opts ...grpc.CallOption) (*EmptyResponse, error) + TenantApps func(ctx context.Context, in *AppsReq, opts ...grpc.CallOption) (*Apps, error) + TenantCreate func(ctx context.Context, in *TenantCreateReq, opts ...grpc.CallOption) (*EmptyResponse, error) + TenantDelete func(ctx context.Context, in *IdList, opts ...grpc.CallOption) (*EmptyResponse, error) + TenantDetail func(ctx context.Context, in *TenantDetailReq, opts ...grpc.CallOption) (*TenantDetailResp, error) + TenantList func(ctx context.Context, in *TenantListReq, opts ...grpc.CallOption) (*TenantListResp, error) + TenantOpenApp func(ctx context.Context, in *TenantOpenAppReq, opts ...grpc.CallOption) (*EmptyResponse, error) + TenantRemoveApp func(ctx context.Context, in *TenantRemoveAppReq, opts ...grpc.CallOption) (*EmptyResponse, error) + TenantStatus func(ctx context.Context, in *TenantStatusReq, opts ...grpc.CallOption) (*EmptyResponse, error) + TenantUpdate func(ctx context.Context, in *TenantUpdateReq, opts ...grpc.CallOption) (*EmptyResponse, error) + func NewTenantServiceClient(cc grpc.ClientConnInterface) TenantServiceClient + type TenantServiceServer interface + APPExpireDateCheck func(context.Context, *EmptyRequest) (*EmptyResponse, error) + TenantAppInfo func(context.Context, *TenantAppReq) (*TenantAppResp, error) + TenantAppInfoUpdate func(context.Context, *TenantAppInfoUpdateReq) (*EmptyResponse, error) + TenantAppUpdateExpiredate func(context.Context, *TenantAppUpdateExpiredateReq) (*EmptyResponse, error) + TenantApps func(context.Context, *AppsReq) (*Apps, error) + TenantCreate func(context.Context, *TenantCreateReq) (*EmptyResponse, error) + TenantDelete func(context.Context, *IdList) (*EmptyResponse, error) + TenantDetail func(context.Context, *TenantDetailReq) (*TenantDetailResp, error) + TenantList func(context.Context, *TenantListReq) (*TenantListResp, error) + TenantOpenApp func(context.Context, *TenantOpenAppReq) (*EmptyResponse, error) + TenantRemoveApp func(context.Context, *TenantRemoveAppReq) (*EmptyResponse, error) + TenantStatus func(context.Context, *TenantStatusReq) (*EmptyResponse, error) + TenantUpdate func(context.Context, *TenantUpdateReq) (*EmptyResponse, error) + type TenantStatusReq struct + Id string + Status int64 + func (*TenantStatusReq) Descriptor() ([]byte, []int) + func (*TenantStatusReq) ProtoMessage() + func (x *TenantStatusReq) GetId() string + func (x *TenantStatusReq) GetStatus() int64 + func (x *TenantStatusReq) ProtoReflect() protoreflect.Message + func (x *TenantStatusReq) Reset() + func (x *TenantStatusReq) String() string + type TenantUpdateReq struct + Address string + ContactEmail string + ContactPerson string + ContactPhone string + DistrictCode string + DistrictName string + ExpireDate string + Id string + Name string + Type int64 + func (*TenantUpdateReq) Descriptor() ([]byte, []int) + func (*TenantUpdateReq) ProtoMessage() + func (x *TenantUpdateReq) GetAddress() string + func (x *TenantUpdateReq) GetContactEmail() string + func (x *TenantUpdateReq) GetContactPerson() string + func (x *TenantUpdateReq) GetContactPhone() string + func (x *TenantUpdateReq) GetDistrictCode() string + func (x *TenantUpdateReq) GetDistrictName() string + func (x *TenantUpdateReq) GetExpireDate() string + func (x *TenantUpdateReq) GetId() string + func (x *TenantUpdateReq) GetName() string + func (x *TenantUpdateReq) GetType() int64 + func (x *TenantUpdateReq) ProtoReflect() protoreflect.Message + func (x *TenantUpdateReq) Reset() + func (x *TenantUpdateReq) String() string + type UnimplementedTenantServiceServer struct + func (UnimplementedTenantServiceServer) APPExpireDateCheck(context.Context, *EmptyRequest) (*EmptyResponse, error) + func (UnimplementedTenantServiceServer) TenantAppInfo(context.Context, *TenantAppReq) (*TenantAppResp, error) + func (UnimplementedTenantServiceServer) TenantAppInfoUpdate(context.Context, *TenantAppInfoUpdateReq) (*EmptyResponse, error) + func (UnimplementedTenantServiceServer) TenantAppUpdateExpiredate(context.Context, *TenantAppUpdateExpiredateReq) (*EmptyResponse, error) + func (UnimplementedTenantServiceServer) TenantApps(context.Context, *AppsReq) (*Apps, error) + func (UnimplementedTenantServiceServer) TenantCreate(context.Context, *TenantCreateReq) (*EmptyResponse, error) + func (UnimplementedTenantServiceServer) TenantDelete(context.Context, *IdList) (*EmptyResponse, error) + func (UnimplementedTenantServiceServer) TenantDetail(context.Context, *TenantDetailReq) (*TenantDetailResp, error) + func (UnimplementedTenantServiceServer) TenantList(context.Context, *TenantListReq) (*TenantListResp, error) + func (UnimplementedTenantServiceServer) TenantOpenApp(context.Context, *TenantOpenAppReq) (*EmptyResponse, error) + func (UnimplementedTenantServiceServer) TenantRemoveApp(context.Context, *TenantRemoveAppReq) (*EmptyResponse, error) + func (UnimplementedTenantServiceServer) TenantStatus(context.Context, *TenantStatusReq) (*EmptyResponse, error) + func (UnimplementedTenantServiceServer) TenantUpdate(context.Context, *TenantUpdateReq) (*EmptyResponse, error) + type UnsafeTenantServiceServer interface