tenant

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_sms_service_proto_tenant_proto protoreflect.FileDescriptor
View Source
var TenantService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tenant.TenantService",
	HandlerType: (*TenantServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "TenantCreate",
			Handler:    _TenantService_TenantCreate_Handler,
		},
		{
			MethodName: "TenantDetail",
			Handler:    _TenantService_TenantDetail_Handler,
		},
		{
			MethodName: "TenantList",
			Handler:    _TenantService_TenantList_Handler,
		},
		{
			MethodName: "TenantUpdate",
			Handler:    _TenantService_TenantUpdate_Handler,
		},
		{
			MethodName: "TenantStatus",
			Handler:    _TenantService_TenantStatus_Handler,
		},
		{
			MethodName: "TenantDelete",
			Handler:    _TenantService_TenantDelete_Handler,
		},
		{
			MethodName: "TenantApps",
			Handler:    _TenantService_TenantApps_Handler,
		},
		{
			MethodName: "TenantAppInfo",
			Handler:    _TenantService_TenantAppInfo_Handler,
		},
		{
			MethodName: "TenantAppInfoUpdate",
			Handler:    _TenantService_TenantAppInfoUpdate_Handler,
		},
		{
			MethodName: "TenantAppUpdateExpiredate",
			Handler:    _TenantService_TenantAppUpdateExpiredate_Handler,
		},
		{
			MethodName: "TenantOpenApp",
			Handler:    _TenantService_TenantOpenApp_Handler,
		},
		{
			MethodName: "TenantRemoveApp",
			Handler:    _TenantService_TenantRemoveApp_Handler,
		},
		{
			MethodName: "APPExpireDateCheck",
			Handler:    _TenantService_APPExpireDateCheck_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "sms_service/proto/tenant.proto",
}

TenantService_ServiceDesc is the grpc.ServiceDesc for TenantService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterTenantServiceServer

func RegisterTenantServiceServer(s grpc.ServiceRegistrar, srv TenantServiceServer)

Types

type AppInfo

type AppInfo struct {
	AppId      string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	AppName    string `protobuf:"bytes,2,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"`
	ExpireDate string `protobuf:"bytes,3,opt,name=expire_date,json=expireDate,proto3" json:"expire_date,omitempty"`
	Status     int64  `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
	TenantId   string `protobuf:"bytes,5,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AppInfo) Descriptor deprecated

func (*AppInfo) Descriptor() ([]byte, []int)

Deprecated: Use AppInfo.ProtoReflect.Descriptor instead.

func (*AppInfo) GetAppId

func (x *AppInfo) GetAppId() string

func (*AppInfo) GetAppName

func (x *AppInfo) GetAppName() string

func (*AppInfo) GetExpireDate

func (x *AppInfo) GetExpireDate() string

func (*AppInfo) GetStatus

func (x *AppInfo) GetStatus() int64

func (*AppInfo) GetTenantId

func (x *AppInfo) GetTenantId() string

func (*AppInfo) ProtoMessage

func (*AppInfo) ProtoMessage()

func (*AppInfo) ProtoReflect

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

func (*AppInfo) Reset

func (x *AppInfo) Reset()

func (*AppInfo) String

func (x *AppInfo) String() string

type Apps

type Apps struct {
	Opened []*AppInfo `protobuf:"bytes,1,rep,name=opened,proto3" json:"opened,omitempty"`
	Closed []*AppInfo `protobuf:"bytes,2,rep,name=closed,proto3" json:"closed,omitempty"`
	// contains filtered or unexported fields
}

func (*Apps) Descriptor deprecated

func (*Apps) Descriptor() ([]byte, []int)

Deprecated: Use Apps.ProtoReflect.Descriptor instead.

func (*Apps) GetClosed

func (x *Apps) GetClosed() []*AppInfo

func (*Apps) GetOpened

func (x *Apps) GetOpened() []*AppInfo

func (*Apps) ProtoMessage

func (*Apps) ProtoMessage()

func (*Apps) ProtoReflect

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

func (*Apps) Reset

func (x *Apps) Reset()

func (*Apps) String

func (x *Apps) String() string

type AppsReq

type AppsReq struct {
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AppsReq) Descriptor deprecated

func (*AppsReq) Descriptor() ([]byte, []int)

Deprecated: Use AppsReq.ProtoReflect.Descriptor instead.

func (*AppsReq) GetTenantId

func (x *AppsReq) GetTenantId() string

func (*AppsReq) ProtoMessage

func (*AppsReq) ProtoMessage()

func (*AppsReq) ProtoReflect

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

func (*AppsReq) Reset

func (x *AppsReq) Reset()

func (*AppsReq) String

func (x *AppsReq) String() string

type EmptyRequest

type EmptyRequest struct {
	// contains filtered or unexported fields
}

func (*EmptyRequest) Descriptor deprecated

func (*EmptyRequest) Descriptor() ([]byte, []int)

Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.

func (*EmptyRequest) ProtoMessage

func (*EmptyRequest) ProtoMessage()

func (*EmptyRequest) ProtoReflect

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

func (*EmptyRequest) Reset

func (x *EmptyRequest) Reset()

func (*EmptyRequest) String

func (x *EmptyRequest) String() string

type EmptyResponse

type EmptyResponse struct {
	// contains filtered or unexported fields
}

func (*EmptyResponse) Descriptor deprecated

func (*EmptyResponse) Descriptor() ([]byte, []int)

Deprecated: Use EmptyResponse.ProtoReflect.Descriptor instead.

func (*EmptyResponse) ProtoMessage

func (*EmptyResponse) ProtoMessage()

func (*EmptyResponse) ProtoReflect

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

func (*EmptyResponse) Reset

func (x *EmptyResponse) Reset()

func (*EmptyResponse) String

func (x *EmptyResponse) String() string

type IdList

type IdList struct {
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*IdList) Descriptor deprecated

func (*IdList) Descriptor() ([]byte, []int)

Deprecated: Use IdList.ProtoReflect.Descriptor instead.

func (*IdList) GetIds

func (x *IdList) GetIds() []string

func (*IdList) ProtoMessage

func (*IdList) ProtoMessage()

func (*IdList) ProtoReflect

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

func (*IdList) Reset

func (x *IdList) Reset()

func (*IdList) String

func (x *IdList) String() string

type TenantAppInfoUpdateReq

type TenantAppInfoUpdateReq struct {
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	AppId    string `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	SystemId string `protobuf:"bytes,3,opt,name=system_id,json=systemId,proto3" json:"system_id,omitempty"`
	AppJson  string `protobuf:"bytes,4,opt,name=app_json,json=appJson,proto3" json:"app_json,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantAppInfoUpdateReq) Descriptor deprecated

func (*TenantAppInfoUpdateReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantAppInfoUpdateReq.ProtoReflect.Descriptor instead.

func (*TenantAppInfoUpdateReq) GetAppId

func (x *TenantAppInfoUpdateReq) GetAppId() string

func (*TenantAppInfoUpdateReq) GetAppJson

func (x *TenantAppInfoUpdateReq) GetAppJson() string

func (*TenantAppInfoUpdateReq) GetSystemId

func (x *TenantAppInfoUpdateReq) GetSystemId() string

func (*TenantAppInfoUpdateReq) GetTenantId

func (x *TenantAppInfoUpdateReq) GetTenantId() string

func (*TenantAppInfoUpdateReq) ProtoMessage

func (*TenantAppInfoUpdateReq) ProtoMessage()

func (*TenantAppInfoUpdateReq) ProtoReflect

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

func (*TenantAppInfoUpdateReq) Reset

func (x *TenantAppInfoUpdateReq) Reset()

func (*TenantAppInfoUpdateReq) String

func (x *TenantAppInfoUpdateReq) String() string

type TenantAppReq

type TenantAppReq struct {
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	AppId    string `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	SystemId string `protobuf:"bytes,3,opt,name=system_id,json=systemId,proto3" json:"system_id,omitempty"`
	AppCode  string `protobuf:"bytes,4,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantAppReq) Descriptor deprecated

func (*TenantAppReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantAppReq.ProtoReflect.Descriptor instead.

func (*TenantAppReq) GetAppCode

func (x *TenantAppReq) GetAppCode() string

func (*TenantAppReq) GetAppId

func (x *TenantAppReq) GetAppId() string

func (*TenantAppReq) GetSystemId

func (x *TenantAppReq) GetSystemId() string

func (*TenantAppReq) GetTenantId

func (x *TenantAppReq) GetTenantId() string

func (*TenantAppReq) ProtoMessage

func (*TenantAppReq) ProtoMessage()

func (*TenantAppReq) ProtoReflect

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

func (*TenantAppReq) Reset

func (x *TenantAppReq) Reset()

func (*TenantAppReq) String

func (x *TenantAppReq) String() string

type TenantAppResp

type TenantAppResp struct {
	AppJson string `protobuf:"bytes,1,opt,name=app_json,json=appJson,proto3" json:"app_json,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantAppResp) Descriptor deprecated

func (*TenantAppResp) Descriptor() ([]byte, []int)

Deprecated: Use TenantAppResp.ProtoReflect.Descriptor instead.

func (*TenantAppResp) GetAppJson

func (x *TenantAppResp) GetAppJson() string

func (*TenantAppResp) ProtoMessage

func (*TenantAppResp) ProtoMessage()

func (*TenantAppResp) ProtoReflect

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

func (*TenantAppResp) Reset

func (x *TenantAppResp) Reset()

func (*TenantAppResp) String

func (x *TenantAppResp) String() string

type TenantAppUpdateExpiredateReq

type TenantAppUpdateExpiredateReq struct {
	TenantId   string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	AppId      string `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	ExpireDate string `protobuf:"bytes,3,opt,name=expire_date,json=expireDate,proto3" json:"expire_date,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantAppUpdateExpiredateReq) Descriptor deprecated

func (*TenantAppUpdateExpiredateReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantAppUpdateExpiredateReq.ProtoReflect.Descriptor instead.

func (*TenantAppUpdateExpiredateReq) GetAppId

func (x *TenantAppUpdateExpiredateReq) GetAppId() string

func (*TenantAppUpdateExpiredateReq) GetExpireDate

func (x *TenantAppUpdateExpiredateReq) GetExpireDate() string

func (*TenantAppUpdateExpiredateReq) GetTenantId

func (x *TenantAppUpdateExpiredateReq) GetTenantId() string

func (*TenantAppUpdateExpiredateReq) ProtoMessage

func (*TenantAppUpdateExpiredateReq) ProtoMessage()

func (*TenantAppUpdateExpiredateReq) ProtoReflect

func (*TenantAppUpdateExpiredateReq) Reset

func (x *TenantAppUpdateExpiredateReq) Reset()

func (*TenantAppUpdateExpiredateReq) String

type TenantCreateReq

type TenantCreateReq struct {
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ContactPerson string `protobuf:"bytes,2,opt,name=contact_person,json=contactPerson,proto3" json:"contact_person,omitempty"`
	ContactPhone  string `protobuf:"bytes,3,opt,name=contact_phone,json=contactPhone,proto3" json:"contact_phone,omitempty"`
	DistrictCode  string `protobuf:"bytes,4,opt,name=district_code,json=districtCode,proto3" json:"district_code,omitempty"`
	Address       string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
	AccountName   string `protobuf:"bytes,6,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	AccountPhone  string `protobuf:"bytes,7,opt,name=account_phone,json=accountPhone,proto3" json:"account_phone,omitempty"`
	Account       string `protobuf:"bytes,8,opt,name=account,proto3" json:"account,omitempty"`
	Password      string `protobuf:"bytes,9,opt,name=password,proto3" json:"password,omitempty"`
	Type          int64  `protobuf:"varint,10,opt,name=type,proto3" json:"type,omitempty"`
	ExpireDate    string `protobuf:"bytes,11,opt,name=expire_date,json=expireDate,proto3" json:"expire_date,omitempty"`
	DistrictName  string `protobuf:"bytes,12,opt,name=district_name,json=districtName,proto3" json:"district_name,omitempty"`
	ContactEmail  string `protobuf:"bytes,13,opt,name=contact_email,json=contactEmail,proto3" json:"contact_email,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantCreateReq) Descriptor deprecated

func (*TenantCreateReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantCreateReq.ProtoReflect.Descriptor instead.

func (*TenantCreateReq) GetAccount

func (x *TenantCreateReq) GetAccount() string

func (*TenantCreateReq) GetAccountName

func (x *TenantCreateReq) GetAccountName() string

func (*TenantCreateReq) GetAccountPhone

func (x *TenantCreateReq) GetAccountPhone() string

func (*TenantCreateReq) GetAddress

func (x *TenantCreateReq) GetAddress() string

func (*TenantCreateReq) GetContactEmail

func (x *TenantCreateReq) GetContactEmail() string

func (*TenantCreateReq) GetContactPerson

func (x *TenantCreateReq) GetContactPerson() string

func (*TenantCreateReq) GetContactPhone

func (x *TenantCreateReq) GetContactPhone() string

func (*TenantCreateReq) GetDistrictCode

func (x *TenantCreateReq) GetDistrictCode() string

func (*TenantCreateReq) GetDistrictName

func (x *TenantCreateReq) GetDistrictName() string

func (*TenantCreateReq) GetExpireDate

func (x *TenantCreateReq) GetExpireDate() string

func (*TenantCreateReq) GetName

func (x *TenantCreateReq) GetName() string

func (*TenantCreateReq) GetPassword

func (x *TenantCreateReq) GetPassword() string

func (*TenantCreateReq) GetType

func (x *TenantCreateReq) GetType() int64

func (*TenantCreateReq) ProtoMessage

func (*TenantCreateReq) ProtoMessage()

func (*TenantCreateReq) ProtoReflect

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

func (*TenantCreateReq) Reset

func (x *TenantCreateReq) Reset()

func (*TenantCreateReq) String

func (x *TenantCreateReq) String() string

type TenantDetailReq

type TenantDetailReq struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantDetailReq) Descriptor deprecated

func (*TenantDetailReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantDetailReq.ProtoReflect.Descriptor instead.

func (*TenantDetailReq) GetId

func (x *TenantDetailReq) GetId() string

func (*TenantDetailReq) ProtoMessage

func (*TenantDetailReq) ProtoMessage()

func (*TenantDetailReq) ProtoReflect

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

func (*TenantDetailReq) Reset

func (x *TenantDetailReq) Reset()

func (*TenantDetailReq) String

func (x *TenantDetailReq) String() string

type TenantDetailResp

type TenantDetailResp 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"`
	Type          int64  `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
	DistrictCode  string `protobuf:"bytes,4,opt,name=district_code,json=districtCode,proto3" json:"district_code,omitempty"`
	Address       string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
	ContactPerson string `protobuf:"bytes,6,opt,name=contact_person,json=contactPerson,proto3" json:"contact_person,omitempty"`
	ContactPhone  string `protobuf:"bytes,7,opt,name=contact_phone,json=contactPhone,proto3" json:"contact_phone,omitempty"`
	Account       string `protobuf:"bytes,8,opt,name=account,proto3" json:"account,omitempty"`
	AccountName   string `protobuf:"bytes,9,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	AccountPhone  string `protobuf:"bytes,10,opt,name=account_phone,json=accountPhone,proto3" json:"account_phone,omitempty"`
	ExpireDate    string `protobuf:"bytes,11,opt,name=expire_date,json=expireDate,proto3" json:"expire_date,omitempty"`
	DistrictName  string `protobuf:"bytes,12,opt,name=district_name,json=districtName,proto3" json:"district_name,omitempty"`
	ContactEmail  string `protobuf:"bytes,13,opt,name=contact_email,json=contactEmail,proto3" json:"contact_email,omitempty"`
	AdminUserId   string `protobuf:"bytes,14,opt,name=admin_user_id,json=adminUserId,proto3" json:"admin_user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantDetailResp) Descriptor deprecated

func (*TenantDetailResp) Descriptor() ([]byte, []int)

Deprecated: Use TenantDetailResp.ProtoReflect.Descriptor instead.

func (*TenantDetailResp) GetAccount

func (x *TenantDetailResp) GetAccount() string

func (*TenantDetailResp) GetAccountName

func (x *TenantDetailResp) GetAccountName() string

func (*TenantDetailResp) GetAccountPhone

func (x *TenantDetailResp) GetAccountPhone() string

func (*TenantDetailResp) GetAddress

func (x *TenantDetailResp) GetAddress() string

func (*TenantDetailResp) GetAdminUserId

func (x *TenantDetailResp) GetAdminUserId() string

func (*TenantDetailResp) GetContactEmail

func (x *TenantDetailResp) GetContactEmail() string

func (*TenantDetailResp) GetContactPerson

func (x *TenantDetailResp) GetContactPerson() string

func (*TenantDetailResp) GetContactPhone

func (x *TenantDetailResp) GetContactPhone() string

func (*TenantDetailResp) GetDistrictCode

func (x *TenantDetailResp) GetDistrictCode() string

func (*TenantDetailResp) GetDistrictName

func (x *TenantDetailResp) GetDistrictName() string

func (*TenantDetailResp) GetExpireDate

func (x *TenantDetailResp) GetExpireDate() string

func (*TenantDetailResp) GetId

func (x *TenantDetailResp) GetId() string

func (*TenantDetailResp) GetName

func (x *TenantDetailResp) GetName() string

func (*TenantDetailResp) GetType

func (x *TenantDetailResp) GetType() int64

func (*TenantDetailResp) ProtoMessage

func (*TenantDetailResp) ProtoMessage()

func (*TenantDetailResp) ProtoReflect

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

func (*TenantDetailResp) Reset

func (x *TenantDetailResp) Reset()

func (*TenantDetailResp) String

func (x *TenantDetailResp) String() string

type TenantInfo

type TenantInfo 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"`
	Account      string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"`
	ContactPhone string `protobuf:"bytes,4,opt,name=contact_phone,json=contactPhone,proto3" json:"contact_phone,omitempty"`
	AppCount     int64  `protobuf:"varint,5,opt,name=app_count,json=appCount,proto3" json:"app_count,omitempty"`
	Status       int64  `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
	CreateTime   int64  `protobuf:"varint,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	ContactEmail string `protobuf:"bytes,8,opt,name=contact_email,json=contactEmail,proto3" json:"contact_email,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantInfo) Descriptor deprecated

func (*TenantInfo) Descriptor() ([]byte, []int)

Deprecated: Use TenantInfo.ProtoReflect.Descriptor instead.

func (*TenantInfo) GetAccount

func (x *TenantInfo) GetAccount() string

func (*TenantInfo) GetAppCount

func (x *TenantInfo) GetAppCount() int64

func (*TenantInfo) GetContactEmail

func (x *TenantInfo) GetContactEmail() string

func (*TenantInfo) GetContactPhone

func (x *TenantInfo) GetContactPhone() string

func (*TenantInfo) GetCreateTime

func (x *TenantInfo) GetCreateTime() int64

func (*TenantInfo) GetId

func (x *TenantInfo) GetId() string

func (*TenantInfo) GetName

func (x *TenantInfo) GetName() string

func (*TenantInfo) GetStatus

func (x *TenantInfo) GetStatus() int64

func (*TenantInfo) ProtoMessage

func (*TenantInfo) ProtoMessage()

func (*TenantInfo) ProtoReflect

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

func (*TenantInfo) Reset

func (x *TenantInfo) Reset()

func (*TenantInfo) String

func (x *TenantInfo) String() string

type TenantListReq

type TenantListReq struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Status   int64  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	PageNo   int64  `protobuf:"varint,3,opt,name=page_no,json=pageNo,proto3" json:"page_no,omitempty"`
	PageSize int64  `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantListReq) Descriptor deprecated

func (*TenantListReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantListReq.ProtoReflect.Descriptor instead.

func (*TenantListReq) GetName

func (x *TenantListReq) GetName() string

func (*TenantListReq) GetPageNo

func (x *TenantListReq) GetPageNo() int64

func (*TenantListReq) GetPageSize

func (x *TenantListReq) GetPageSize() int64

func (*TenantListReq) GetStatus

func (x *TenantListReq) GetStatus() int64

func (*TenantListReq) ProtoMessage

func (*TenantListReq) ProtoMessage()

func (*TenantListReq) ProtoReflect

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

func (*TenantListReq) Reset

func (x *TenantListReq) Reset()

func (*TenantListReq) String

func (x *TenantListReq) String() string

type TenantListResp

type TenantListResp struct {
	List     []*TenantInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total    int64         `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	PageNo   int64         `protobuf:"varint,3,opt,name=page_no,json=pageNo,proto3" json:"page_no,omitempty"`
	PageSize int64         `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantListResp) Descriptor deprecated

func (*TenantListResp) Descriptor() ([]byte, []int)

Deprecated: Use TenantListResp.ProtoReflect.Descriptor instead.

func (*TenantListResp) GetList

func (x *TenantListResp) GetList() []*TenantInfo

func (*TenantListResp) GetPageNo

func (x *TenantListResp) GetPageNo() int64

func (*TenantListResp) GetPageSize

func (x *TenantListResp) GetPageSize() int64

func (*TenantListResp) GetTotal

func (x *TenantListResp) GetTotal() int64

func (*TenantListResp) ProtoMessage

func (*TenantListResp) ProtoMessage()

func (*TenantListResp) ProtoReflect

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

func (*TenantListResp) Reset

func (x *TenantListResp) Reset()

func (*TenantListResp) String

func (x *TenantListResp) String() string

type TenantOpenAppReq

type TenantOpenAppReq struct {
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	AppId    string `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	SystemId string `protobuf:"bytes,3,opt,name=system_id,json=systemId,proto3" json:"system_id,omitempty"`
	AppJson  string `protobuf:"bytes,4,opt,name=app_json,json=appJson,proto3" json:"app_json,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantOpenAppReq) Descriptor deprecated

func (*TenantOpenAppReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantOpenAppReq.ProtoReflect.Descriptor instead.

func (*TenantOpenAppReq) GetAppId

func (x *TenantOpenAppReq) GetAppId() string

func (*TenantOpenAppReq) GetAppJson

func (x *TenantOpenAppReq) GetAppJson() string

func (*TenantOpenAppReq) GetSystemId

func (x *TenantOpenAppReq) GetSystemId() string

func (*TenantOpenAppReq) GetTenantId

func (x *TenantOpenAppReq) GetTenantId() string

func (*TenantOpenAppReq) ProtoMessage

func (*TenantOpenAppReq) ProtoMessage()

func (*TenantOpenAppReq) ProtoReflect

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

func (*TenantOpenAppReq) Reset

func (x *TenantOpenAppReq) Reset()

func (*TenantOpenAppReq) String

func (x *TenantOpenAppReq) String() string

type TenantRemoveAppReq

type TenantRemoveAppReq struct {
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	AppId    string `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantRemoveAppReq) Descriptor deprecated

func (*TenantRemoveAppReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantRemoveAppReq.ProtoReflect.Descriptor instead.

func (*TenantRemoveAppReq) GetAppId

func (x *TenantRemoveAppReq) GetAppId() string

func (*TenantRemoveAppReq) GetTenantId

func (x *TenantRemoveAppReq) GetTenantId() string

func (*TenantRemoveAppReq) ProtoMessage

func (*TenantRemoveAppReq) ProtoMessage()

func (*TenantRemoveAppReq) ProtoReflect

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

func (*TenantRemoveAppReq) Reset

func (x *TenantRemoveAppReq) Reset()

func (*TenantRemoveAppReq) String

func (x *TenantRemoveAppReq) String() string

type TenantServiceClient

type TenantServiceClient interface {
	TenantCreate(ctx context.Context, in *TenantCreateReq, opts ...grpc.CallOption) (*EmptyResponse, error)
	TenantDetail(ctx context.Context, in *TenantDetailReq, opts ...grpc.CallOption) (*TenantDetailResp, error)
	TenantList(ctx context.Context, in *TenantListReq, opts ...grpc.CallOption) (*TenantListResp, error)
	TenantUpdate(ctx context.Context, in *TenantUpdateReq, opts ...grpc.CallOption) (*EmptyResponse, error)
	TenantStatus(ctx context.Context, in *TenantStatusReq, opts ...grpc.CallOption) (*EmptyResponse, error)
	TenantDelete(ctx context.Context, in *IdList, opts ...grpc.CallOption) (*EmptyResponse, error)
	// 租户平台管理
	TenantApps(ctx context.Context, in *AppsReq, opts ...grpc.CallOption) (*Apps, error)
	TenantAppInfo(ctx context.Context, in *TenantAppReq, opts ...grpc.CallOption) (*TenantAppResp, error)
	TenantAppInfoUpdate(ctx context.Context, in *TenantAppInfoUpdateReq, opts ...grpc.CallOption) (*EmptyResponse, error)
	TenantAppUpdateExpiredate(ctx context.Context, in *TenantAppUpdateExpiredateReq, opts ...grpc.CallOption) (*EmptyResponse, error)
	TenantOpenApp(ctx context.Context, in *TenantOpenAppReq, opts ...grpc.CallOption) (*EmptyResponse, error)
	TenantRemoveApp(ctx context.Context, in *TenantRemoveAppReq, opts ...grpc.CallOption) (*EmptyResponse, error)
	APPExpireDateCheck(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*EmptyResponse, error)
}

TenantServiceClient is the client API for TenantService 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.

type TenantServiceServer

type TenantServiceServer interface {
	TenantCreate(context.Context, *TenantCreateReq) (*EmptyResponse, error)
	TenantDetail(context.Context, *TenantDetailReq) (*TenantDetailResp, error)
	TenantList(context.Context, *TenantListReq) (*TenantListResp, error)
	TenantUpdate(context.Context, *TenantUpdateReq) (*EmptyResponse, error)
	TenantStatus(context.Context, *TenantStatusReq) (*EmptyResponse, error)
	TenantDelete(context.Context, *IdList) (*EmptyResponse, error)
	// 租户平台管理
	TenantApps(context.Context, *AppsReq) (*Apps, error)
	TenantAppInfo(context.Context, *TenantAppReq) (*TenantAppResp, error)
	TenantAppInfoUpdate(context.Context, *TenantAppInfoUpdateReq) (*EmptyResponse, error)
	TenantAppUpdateExpiredate(context.Context, *TenantAppUpdateExpiredateReq) (*EmptyResponse, error)
	TenantOpenApp(context.Context, *TenantOpenAppReq) (*EmptyResponse, error)
	TenantRemoveApp(context.Context, *TenantRemoveAppReq) (*EmptyResponse, error)
	APPExpireDateCheck(context.Context, *EmptyRequest) (*EmptyResponse, error)
	// contains filtered or unexported methods
}

TenantServiceServer is the server API for TenantService service. All implementations must embed UnimplementedTenantServiceServer for forward compatibility

type TenantStatusReq

type TenantStatusReq struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Status int64  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantStatusReq) Descriptor deprecated

func (*TenantStatusReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantStatusReq.ProtoReflect.Descriptor instead.

func (*TenantStatusReq) GetId

func (x *TenantStatusReq) GetId() string

func (*TenantStatusReq) GetStatus

func (x *TenantStatusReq) GetStatus() int64

func (*TenantStatusReq) ProtoMessage

func (*TenantStatusReq) ProtoMessage()

func (*TenantStatusReq) ProtoReflect

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

func (*TenantStatusReq) Reset

func (x *TenantStatusReq) Reset()

func (*TenantStatusReq) String

func (x *TenantStatusReq) String() string

type TenantUpdateReq

type TenantUpdateReq 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"`
	ContactPerson string `protobuf:"bytes,3,opt,name=contact_person,json=contactPerson,proto3" json:"contact_person,omitempty"`
	ContactPhone  string `protobuf:"bytes,4,opt,name=contact_phone,json=contactPhone,proto3" json:"contact_phone,omitempty"`
	DistrictCode  string `protobuf:"bytes,5,opt,name=district_code,json=districtCode,proto3" json:"district_code,omitempty"`
	Address       string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"`
	Type          int64  `protobuf:"varint,7,opt,name=type,proto3" json:"type,omitempty"`
	ExpireDate    string `protobuf:"bytes,8,opt,name=expire_date,json=expireDate,proto3" json:"expire_date,omitempty"`
	DistrictName  string `protobuf:"bytes,9,opt,name=district_name,json=districtName,proto3" json:"district_name,omitempty"`
	ContactEmail  string `protobuf:"bytes,10,opt,name=contact_email,json=contactEmail,proto3" json:"contact_email,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantUpdateReq) Descriptor deprecated

func (*TenantUpdateReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantUpdateReq.ProtoReflect.Descriptor instead.

func (*TenantUpdateReq) GetAddress

func (x *TenantUpdateReq) GetAddress() string

func (*TenantUpdateReq) GetContactEmail

func (x *TenantUpdateReq) GetContactEmail() string

func (*TenantUpdateReq) GetContactPerson

func (x *TenantUpdateReq) GetContactPerson() string

func (*TenantUpdateReq) GetContactPhone

func (x *TenantUpdateReq) GetContactPhone() string

func (*TenantUpdateReq) GetDistrictCode

func (x *TenantUpdateReq) GetDistrictCode() string

func (*TenantUpdateReq) GetDistrictName

func (x *TenantUpdateReq) GetDistrictName() string

func (*TenantUpdateReq) GetExpireDate

func (x *TenantUpdateReq) GetExpireDate() string

func (*TenantUpdateReq) GetId

func (x *TenantUpdateReq) GetId() string

func (*TenantUpdateReq) GetName

func (x *TenantUpdateReq) GetName() string

func (*TenantUpdateReq) GetType

func (x *TenantUpdateReq) GetType() int64

func (*TenantUpdateReq) ProtoMessage

func (*TenantUpdateReq) ProtoMessage()

func (*TenantUpdateReq) ProtoReflect

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

func (*TenantUpdateReq) Reset

func (x *TenantUpdateReq) Reset()

func (*TenantUpdateReq) String

func (x *TenantUpdateReq) String() string

type UnimplementedTenantServiceServer

type UnimplementedTenantServiceServer struct {
}

UnimplementedTenantServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedTenantServiceServer) APPExpireDateCheck

func (UnimplementedTenantServiceServer) TenantAppInfo

func (UnimplementedTenantServiceServer) TenantAppInfoUpdate

func (UnimplementedTenantServiceServer) TenantAppUpdateExpiredate

func (UnimplementedTenantServiceServer) TenantApps

func (UnimplementedTenantServiceServer) TenantCreate

func (UnimplementedTenantServiceServer) TenantDelete

func (UnimplementedTenantServiceServer) TenantDetail

func (UnimplementedTenantServiceServer) TenantList

func (UnimplementedTenantServiceServer) TenantOpenApp

func (UnimplementedTenantServiceServer) TenantRemoveApp

func (UnimplementedTenantServiceServer) TenantStatus

func (UnimplementedTenantServiceServer) TenantUpdate

type UnsafeTenantServiceServer

type UnsafeTenantServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTenantServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TenantServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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