Documentation ¶
Index ¶
- func DeleteDomain(args *ArgsDeleteDomain) (err error)
- func GetDomainOrg(args *ArgsGetDomainOrg) (orgID int64, params CoreSQLConfig.FieldsConfigsType, err error)
- func UpdateDomain(args *ArgsUpdateDomain) (err error)
- type ArgsCreateDomain
- type ArgsDeleteDomain
- type ArgsGetDomainList
- type ArgsGetDomainOrg
- type ArgsUpdateDomain
- type FieldsDomain
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDomainOrg ¶
func GetDomainOrg(args *ArgsGetDomainOrg) (orgID int64, params CoreSQLConfig.FieldsConfigsType, err error)
GetDomainOrg 通过host获取org
Types ¶
type ArgsCreateDomain ¶
type ArgsCreateDomain struct { //组织ID OrgID int64 `db:"org_id" json:"orgID" check:"id"` //Host // 全局唯一 Host string `db:"host" json:"host"` //扩展参数 Params CoreSQLConfig.FieldsConfigsType `db:"params" json:"params"` }
ArgsCreateDomain 创建新的域名参数
type ArgsDeleteDomain ¶
type ArgsDeleteDomain struct { //ID ID int64 `db:"id" json:"id" check:"id"` //组织ID OrgID int64 `db:"org_id" json:"orgID" check:"id"` }
ArgsDeleteDomain 删除域名参数
type ArgsGetDomainList ¶
type ArgsGetDomainList struct { //分页 Pages CoreSQLPages.ArgsDataList `json:"pages"` //组织ID OrgID int64 `db:"org_id" json:"orgID" check:"id" empty:"true"` //搜索 Search string `json:"search" check:"search" empty:"true"` }
ArgsGetDomainList 获取域名列表参数
type ArgsGetDomainOrg ¶
type ArgsGetDomainOrg struct { //Host // 全局唯一 Host string `db:"host" json:"host"` }
ArgsGetDomainOrg 通过host获取org参数
type ArgsUpdateDomain ¶
type ArgsUpdateDomain struct { //ID ID int64 `db:"id" json:"id" check:"id"` //组织ID OrgID int64 `db:"org_id" json:"orgID" check:"id"` //Host // 全局唯一 Host string `db:"host" json:"host"` //扩展参数 Params CoreSQLConfig.FieldsConfigsType `db:"params" json:"params"` }
ArgsUpdateDomain 修改域名参数
type FieldsDomain ¶
type FieldsDomain struct { //ID ID int64 `db:"id" json:"id"` //创建时间 CreateAt time.Time `db:"create_at" json:"createAt"` //组织ID OrgID int64 `db:"org_id" json:"orgID"` //Host // 全局唯一 Host string `db:"host" json:"host"` //扩展参数 Params CoreSQLConfig.FieldsConfigsType `db:"params" json:"params"` }
func CreateDomain ¶
func CreateDomain(args *ArgsCreateDomain) (data FieldsDomain, err error)
CreateDomain 创建新的域名
func GetDomainList ¶
func GetDomainList(args *ArgsGetDomainList) (dataList []FieldsDomain, dataCount int64, err error)
GetDomainList 获取域名列表
Click to show internal directories.
Click to hide internal directories.