 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func CdnOverseaPushser(urls ...string) ([]byte, error)
- func DoAction(action string, options ...string) ([]byte, error)
- func GetCdnOverseaRefreshLog(options ...string) ([]byte, error)
- func RefreshCdnOverSeaDir(dirs ...string) ([]byte, error)
- func RefreshCdnOverSeaUrl(urls ...string) ([]byte, error)
- func UpdateCache(options ...string) ([]byte, error)
- func UpdateCdnProject(options ...string) ([]byte, error)
- type AddCdnHostResp
- type DataGetHostInfo
- type DeleteCdnHostResp
- type DescribeCdnHostDetailedInfoResp
- type DescribeCdnHostInfoResp
- type DescribeCdnHostsResp
- type GetCdnHostsDetailStatisticsResp
- type GetCdnHostsHyStatResp
- type GetCdnLogListResp
- type GetCdnMiddleSourceListResp
- type GetCdnProvIspDetailStatResp
- type GetCdnRefreshLogResp
- type GetCdnStatTopResp
- type GetCdnStatusCodeResp
- type GetHostInfoByHostResp
- type GetHostInfoByIdResp
- type Host
- type HostConfig
- type OfflineHostResp
- type OnlineHostResp
- type RefreshCdnDirResp
- type RefreshCdnUrlResp
- type RespGetHostInfo
- type UpdateCdnConfigResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CdnOverseaPushser ¶
func GetCdnOverseaRefreshLog ¶
func RefreshCdnOverSeaDir ¶
func RefreshCdnOverSeaUrl ¶
func UpdateCache ¶
func UpdateCdnProject ¶
Types ¶
type AddCdnHostResp ¶ added in v1.1.0
type AddCdnHostResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Message  string `json:"message"`
}
    func AddCdnHost ¶
func AddCdnHost(options ...string) (*AddCdnHostResp, error)
func (*AddCdnHostResp) String ¶ added in v1.1.0
func (r *AddCdnHostResp) String(args ...interface{}) (string, error)
type DataGetHostInfo ¶
type DeleteCdnHostResp ¶ added in v1.1.0
type DeleteCdnHostResp struct {
	Code     int64         `json:"code"`
	CodeDesc string        `json:"codeDesc"`
	Data     []interface{} `json:"data"`
	Errmsg   string        `json:"errmsg"`
	Message  string        `json:"message"`
	Retcode  int64         `json:"retcode"`
}
    func DeleteCdnHost ¶
func DeleteCdnHost(options ...string) (*DeleteCdnHostResp, error)
func (*DeleteCdnHostResp) String ¶ added in v1.1.0
func (r *DeleteCdnHostResp) String(args ...interface{}) (string, error)
type DescribeCdnHostDetailedInfoResp ¶ added in v1.1.0
type DescribeCdnHostDetailedInfoResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		EndDatetime   string  `json:"end_datetime"`
		Period        int64   `json:"period"`
		StartDatetime string  `json:"start_datetime"`
		StatType      string  `json:"stat_type"`
		TotalData     []int64 `json:"total_data"`
	} `json:"data"`
	Errmsg  string `json:"errmsg"`
	Message string `json:"message"`
	Retcode int64  `json:"retcode"`
}
    func DescribeCdnHostDetailedInfo ¶ added in v1.1.0
func DescribeCdnHostDetailedInfo(options ...string) (*DescribeCdnHostDetailedInfoResp, error)
func (*DescribeCdnHostDetailedInfoResp) String ¶ added in v1.1.0
func (r *DescribeCdnHostDetailedInfoResp) String(args ...interface{}) (string, error)
type DescribeCdnHostInfoResp ¶ added in v1.1.0
type DescribeCdnHostInfoResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		DetailData []struct {
			HostID    string `json:"host_id"`
			HostName  string `json:"host_name"`
			HostType  string `json:"host_type"`
			HostValue int64  `json:"host_value"`
		} `json:"detail_data"`
		EndDatetime   string `json:"end_datetime"`
		Period        int64  `json:"period"`
		StartDatetime string `json:"start_datetime"`
		StatType      string `json:"stat_type"`
	} `json:"data"`
	Errmsg  string `json:"errmsg"`
	Message string `json:"message"`
	Retcode int64  `json:"retcode"`
}
    func DescribeCdnHostInfo ¶ added in v1.1.0
func DescribeCdnHostInfo(options ...string) (*DescribeCdnHostInfoResp, error)
func (*DescribeCdnHostInfoResp) String ¶ added in v1.1.0
func (r *DescribeCdnHostInfoResp) String(args ...interface{}) (string, error)
type DescribeCdnHostsResp ¶ added in v1.1.0
type DescribeCdnHostsResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		Hosts []struct {
			AppID int64 `json:"app_id"`
			Cache []struct {
				Rule string `json:"rule"`
				Time int64  `json:"time"`
				Type int64  `json:"type"`
				Unit string `json:"unit"`
			} `json:"cache"`
			CacheMode string `json:"cache_mode"`
			Capping   struct {
				Active    string `json:"active"`
				Bandwidth int64  `json:"bandwidth"`
				Hy        string `json:"hy"`
				Unit      string `json:"unit"`
			} `json:"capping"`
			Cname       string      `json:"cname"`
			CosKey      interface{} `json:"cos_key"`
			CreateTime  string      `json:"create_time"`
			Deleted     string      `json:"deleted"`
			Disabled    int64       `json:"disabled"`
			FinalPids   interface{} `json:"final_pids"`
			FurlCache   string      `json:"furl_cache"`
			FwdHost     string      `json:"fwd_host"`
			FwdHostType string      `json:"fwd_host_type"`
			Host        string      `json:"host"`
			HostID      int64       `json:"host_id"`
			HostType    string      `json:"host_type"`
			HTTP2       int64       `json:"http2"`
			HTTPSConfig struct {
				AccessExtension            string `json:"access_extension"`
				ExtraExtension             string `json:"extra_extension"`
				HTTP2                      int64  `json:"http2"`
				HyExtension                string `json:"hy_extension"`
				ProxySslName               string `json:"proxy_ssl_name"`
				ProxySslServerName         string `json:"proxy_ssl_server_name"`
				ProxySslTrustedCertificate string `json:"proxy_ssl_trusted_certificate"`
				ProxySslVerify             string `json:"proxy_ssl_verify"`
				Spdy                       string `json:"spdy"`
				SslStapling                string `json:"ssl_stapling"`
				SslStaplingVerify          string `json:"ssl_stapling_verify"`
				SslVerifyClient            string `json:"ssl_verify_client"`
			} `json:"https_config"`
			ID             int64       `json:"id"`
			Message        string      `json:"message"`
			MiddleResource int64       `json:"middle_resource"`
			Origin         string      `json:"origin"`
			OwnerUin       int64       `json:"owner_uin"`
			PidConfig      interface{} `json:"pid_config"`
			ProjectID      int64       `json:"project_id"`
			Readonly       int64       `json:"readonly"`
			Refer          struct {
				List     []string `json:"list"`
				NullFlag int64    `json:"null_flag"`
				Type     int64    `json:"type"`
			} `json:"refer"`
			Seo           string `json:"seo"`
			ServiceType   string `json:"service_type"`
			SslCertID     string `json:"ssl_cert_id"`
			SslCertName   string `json:"ssl_cert_name"`
			SslDeployTime string `json:"ssl_deploy_time"`
			SslExpireTime string `json:"ssl_expire_time"`
			SslType       int64  `json:"ssl_type"`
			Status        int64  `json:"status"`
			TegStatus     string `json:"teg_status"`
			TestURL       string `json:"test_url"`
			UpdateTime    string `json:"update_time"`
		} `json:"hosts"`
		Total int64 `json:"total"`
	} `json:"data"`
	Message string `json:"message"`
}
    func DescribeCdnHosts ¶
func DescribeCdnHosts(options ...string) (*DescribeCdnHostsResp, error)
func (*DescribeCdnHostsResp) String ¶ added in v1.1.0
func (r *DescribeCdnHostsResp) String(args ...interface{}) (string, error)
type GetCdnHostsDetailStatisticsResp ¶ added in v1.1.0
type GetCdnHostsDetailStatisticsResp struct {
	Code     int64       `json:"code"`
	CodeDesc string      `json:"codeDesc"`
	Data     interface{} `json:"data"`
	Errmsg   string      `json:"errmsg"`
	Message  string      `json:"message"`
}
    func GetCdnHostsDetailStatistics ¶ added in v1.1.0
func GetCdnHostsDetailStatistics(options ...string) (*GetCdnHostsDetailStatisticsResp, error)
func (*GetCdnHostsDetailStatisticsResp) String ¶ added in v1.1.0
func (r *GetCdnHostsDetailStatisticsResp) String(args ...interface{}) (string, error)
type GetCdnHostsHyStatResp ¶ added in v1.1.0
type GetCdnHostsHyStatResp struct {
	Code     int64       `json:"code"`
	CodeDesc string      `json:"codeDesc"`
	Data     interface{} `json:"data"`
	Message  string      `json:"message"`
}
    func GetCdnHostsHyStat ¶ added in v1.1.0
func GetCdnHostsHyStat(options ...string) (*GetCdnHostsHyStatResp, error)
func (*GetCdnHostsHyStatResp) String ¶ added in v1.1.0
func (r *GetCdnHostsHyStatResp) String(args ...interface{}) (string, error)
type GetCdnLogListResp ¶ added in v1.1.0
type GetCdnLogListResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		List []struct {
			Date string `json:"date"`
			Link string `json:"link"`
			Name string `json:"name"`
			Type int64  `json:"type"`
		} `json:"list"`
		Now int64 `json:"now"`
	} `json:"data"`
	Message string `json:"message"`
}
    func GetCdnLogList ¶
func GetCdnLogList(options ...string) (*GetCdnLogListResp, error)
func (*GetCdnLogListResp) String ¶ added in v1.1.0
func (r *GetCdnLogListResp) String(args ...interface{}) (string, error)
type GetCdnMiddleSourceListResp ¶ added in v1.1.0
type GetCdnMiddleSourceListResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		MiddleSourceList []string `json:"middle_source_list"`
	} `json:"data"`
	Message string `json:"message"`
}
    func GetCdnMiddleSourceList ¶ added in v1.1.0
func GetCdnMiddleSourceList(options ...string) (*GetCdnMiddleSourceListResp, error)
Implement https://cloud.tencent.com/document/api/
func (*GetCdnMiddleSourceListResp) String ¶ added in v1.1.0
func (r *GetCdnMiddleSourceListResp) String(args ...interface{}) (string, error)
type GetCdnProvIspDetailStatResp ¶ added in v1.1.0
type GetCdnProvIspDetailStatResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		Date     string        `json:"date"`
		ProvData []interface{} `json:"prov_data"`
	} `json:"data"`
	Message string `json:"message"`
}
    func GetCdnProvIspDetailStat ¶ added in v1.1.0
func GetCdnProvIspDetailStat(options ...string) (*GetCdnProvIspDetailStatResp, error)
func (*GetCdnProvIspDetailStatResp) String ¶ added in v1.1.0
func (r *GetCdnProvIspDetailStatResp) String(args ...interface{}) (string, error)
type GetCdnRefreshLogResp ¶ added in v1.1.0
type GetCdnRefreshLogResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		Logs []struct {
			AppID     int64    `json:"app_id"`
			Datetime  string   `json:"datetime"`
			Host      string   `json:"host"`
			ID        int64    `json:"id"`
			Progress  int64    `json:"progress"`
			ProjectID int64    `json:"project_id"`
			Status    int64    `json:"status"`
			Type      int64    `json:"type"`
			URLList   []string `json:"url_list"`
		} `json:"logs"`
		Total int64 `json:"total"`
	} `json:"data"`
	Errmsg  string `json:"errmsg"`
	Message string `json:"message"`
	Retcode int64  `json:"retcode"`
}
    func GetCdnRefreshLog ¶
func GetCdnRefreshLog(options ...string) (*GetCdnRefreshLogResp, error)
func (*GetCdnRefreshLogResp) String ¶ added in v1.1.0
func (r *GetCdnRefreshLogResp) String(args ...interface{}) (string, error)
type GetCdnStatTopResp ¶ added in v1.1.0
type GetCdnStatTopResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		EndDatetime string `json:"end_datetime"`
		IspData     []struct {
			ID    int64  `json:"id"`
			Name  string `json:"name"`
			Value int64  `json:"value"`
		} `json:"isp_data"`
		Period       int64 `json:"period"`
		ProvinceData []struct {
			ID    int64  `json:"id"`
			Name  string `json:"name"`
			Value int64  `json:"value"`
		} `json:"province_data"`
		StartDatetime string `json:"start_datetime"`
		StatType      string `json:"stat_type"`
		URLData       []struct {
			Name  string `json:"name"`
			Value int64  `json:"value"`
		} `json:"url_data"`
	} `json:"data"`
	Message string `json:"message"`
}
    func GetCdnStatTop ¶ added in v1.1.0
func GetCdnStatTop(options ...string) (*GetCdnStatTopResp, error)
func (*GetCdnStatTopResp) String ¶ added in v1.1.0
func (r *GetCdnStatTopResp) String(args ...interface{}) (string, error)
type GetCdnStatusCodeResp ¶ added in v1.1.0
type GetCdnStatusCodeResp struct {
	Code     int64       `json:"code"`
	CodeDesc string      `json:"codeDesc"`
	Data     interface{} `json:"data"`
	Message  string      `json:"message"`
}
    func GetCdnStatusCode ¶ added in v1.1.0
func GetCdnStatusCode(options ...string) (*GetCdnStatusCodeResp, error)
func (*GetCdnStatusCodeResp) String ¶ added in v1.1.0
func (r *GetCdnStatusCodeResp) String(args ...interface{}) (string, error)
type GetHostInfoByHostResp ¶ added in v1.1.0
type GetHostInfoByHostResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		Hosts []struct {
			AppID     int64         `json:"app_id"`
			Cache     []interface{} `json:"cache"`
			CacheMode string        `json:"cache_mode"`
			Capping   struct {
				Active    string `json:"active"`
				Bandwidth int64  `json:"bandwidth"`
				Hy        string `json:"hy"`
				Unit      string `json:"unit"`
			} `json:"capping"`
			Cname       string `json:"cname"`
			CosKey      string `json:"cos_key"`
			CreateTime  string `json:"create_time"`
			Deleted     string `json:"deleted"`
			Disabled    int64  `json:"disabled"`
			FinalPids   int64  `json:"final_pids"`
			FurlCache   string `json:"furl_cache"`
			FwdHost     string `json:"fwd_host"`
			FwdHostType string `json:"fwd_host_type"`
			Host        string `json:"host"`
			HostConfig  struct {
				AdvancedCache []struct {
					Rule string `json:"rule"`
					Time int64  `json:"time"`
					Type int64  `json:"type"`
					Unit string `json:"unit"`
				} `json:"advanced_cache"`
				AdvancedMaxage []struct {
					Rule string `json:"rule"`
					Time int64  `json:"time"`
					Type int64  `json:"type"`
					Unit string `json:"unit"`
				} `json:"advanced_maxage"`
				BackupOrigin struct {
					BackupOrigin string `json:"backup_origin"`
				} `json:"backup_origin"`
				Compression struct {
					Switch string   `json:"switch"`
					Type   []string `json:"type"`
				} `json:"compression"`
				IPCc struct {
					List []string `json:"list"`
					Type int64    `json:"type"`
				} `json:"ip_cc"`
				OverseaFeatureSwitch struct {
					OverseaFeatureSwitch string `json:"oversea_feature_switch"`
				} `json:"oversea_feature_switch"`
				SrcMethod struct {
					Backup          string `json:"backup"`
					BackupSrcMethod string `json:"backup_src_method"`
					Master          string `json:"master"`
					SrcMethod       string `json:"src_method"`
				} `json:"src_method"`
			} `json:"host_config"`
			HostID      int64  `json:"host_id"`
			HostType    string `json:"host_type"`
			HTTP2       int64  `json:"http2"`
			HTTPSConfig struct {
				AccessExtension            string `json:"access_extension"`
				ExtraExtension             string `json:"extra_extension"`
				HTTP2                      int64  `json:"http2"`
				HyExtension                string `json:"hy_extension"`
				ProxySslName               string `json:"proxy_ssl_name"`
				ProxySslServerName         string `json:"proxy_ssl_server_name"`
				ProxySslTrustedCertificate string `json:"proxy_ssl_trusted_certificate"`
				ProxySslVerify             string `json:"proxy_ssl_verify"`
				Spdy                       string `json:"spdy"`
				SslStapling                string `json:"ssl_stapling"`
				SslStaplingVerify          string `json:"ssl_stapling_verify"`
				SslVerifyClient            string `json:"ssl_verify_client"`
			} `json:"https_config"`
			ID             int64  `json:"id"`
			Message        string `json:"message"`
			MiddleResource int64  `json:"middle_resource"`
			Origin         string `json:"origin"`
			OwnerUin       int64  `json:"owner_uin"`
			ProjectID      int64  `json:"project_id"`
			Readonly       int64  `json:"readonly"`
			Refer          struct {
				List     []string `json:"list"`
				NullFlag int64    `json:"null_flag"`
				Type     int64    `json:"type"`
			} `json:"refer"`
			Seo           string      `json:"seo"`
			ServiceType   string      `json:"service_type"`
			SslCertID     string      `json:"ssl_cert_id"`
			SslCertName   string      `json:"ssl_cert_name"`
			SslDeployTime interface{} `json:"ssl_deploy_time"`
			SslExpireTime interface{} `json:"ssl_expire_time"`
			SslType       int64       `json:"ssl_type"`
			Status        int64       `json:"status"`
			TegStatus     string      `json:"teg_status"`
			TestURL       string      `json:"test_url"`
			UpdateTime    string      `json:"update_time"`
		} `json:"hosts"`
		Total int64 `json:"total"`
	} `json:"data"`
	Message string `json:"message"`
}
    func GetHostInfoByHost ¶
func GetHostInfoByHost(hosts ...string) (*GetHostInfoByHostResp, error)
func (*GetHostInfoByHostResp) String ¶ added in v1.1.0
func (r *GetHostInfoByHostResp) String(args ...interface{}) (string, error)
type GetHostInfoByIdResp ¶ added in v1.1.0
type GetHostInfoByIdResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		Hosts []struct {
			AppID     int64         `json:"app_id"`
			Cache     []interface{} `json:"cache"`
			CacheMode string        `json:"cache_mode"`
			Capping   struct {
				Active    string `json:"active"`
				Bandwidth int64  `json:"bandwidth"`
				Hy        string `json:"hy"`
				Unit      string `json:"unit"`
			} `json:"capping"`
			Cname       string `json:"cname"`
			CosKey      string `json:"cos_key"`
			CreateTime  string `json:"create_time"`
			Deleted     string `json:"deleted"`
			Disabled    int64  `json:"disabled"`
			FinalPids   int64  `json:"final_pids"`
			FurlCache   string `json:"furl_cache"`
			FwdHost     string `json:"fwd_host"`
			FwdHostType string `json:"fwd_host_type"`
			Host        string `json:"host"`
			HostConfig  struct {
				AdvancedCache []struct {
					Rule string `json:"rule"`
					Time int64  `json:"time"`
					Type int64  `json:"type"`
					Unit string `json:"unit"`
				} `json:"advanced_cache"`
				AdvancedMaxage []struct {
					Rule string `json:"rule"`
					Time int64  `json:"time"`
					Type int64  `json:"type"`
					Unit string `json:"unit"`
				} `json:"advanced_maxage"`
				BackupOrigin struct {
					BackupOrigin string `json:"backup_origin"`
				} `json:"backup_origin"`
				Compression struct {
					Switch string   `json:"switch"`
					Type   []string `json:"type"`
				} `json:"compression"`
				IPCc struct {
					List []string `json:"list"`
					Type int64    `json:"type"`
				} `json:"ip_cc"`
				OverseaFeatureSwitch struct {
					OverseaFeatureSwitch string `json:"oversea_feature_switch"`
				} `json:"oversea_feature_switch"`
				SrcMethod struct {
					Backup          string `json:"backup"`
					BackupSrcMethod string `json:"backup_src_method"`
					Master          string `json:"master"`
					SrcMethod       string `json:"src_method"`
				} `json:"src_method"`
			} `json:"host_config"`
			HostID      int64  `json:"host_id"`
			HostType    string `json:"host_type"`
			HTTP2       int64  `json:"http2"`
			HTTPSConfig struct {
				AccessExtension            string `json:"access_extension"`
				ExtraExtension             string `json:"extra_extension"`
				HTTP2                      int64  `json:"http2"`
				HyExtension                string `json:"hy_extension"`
				ProxySslName               string `json:"proxy_ssl_name"`
				ProxySslServerName         string `json:"proxy_ssl_server_name"`
				ProxySslTrustedCertificate string `json:"proxy_ssl_trusted_certificate"`
				ProxySslVerify             string `json:"proxy_ssl_verify"`
				Spdy                       string `json:"spdy"`
				SslStapling                string `json:"ssl_stapling"`
				SslStaplingVerify          string `json:"ssl_stapling_verify"`
				SslVerifyClient            string `json:"ssl_verify_client"`
			} `json:"https_config"`
			ID             int64  `json:"id"`
			Message        string `json:"message"`
			MiddleResource int64  `json:"middle_resource"`
			Origin         string `json:"origin"`
			OwnerUin       int64  `json:"owner_uin"`
			ProjectID      int64  `json:"project_id"`
			Readonly       int64  `json:"readonly"`
			Refer          struct {
				List     []string `json:"list"`
				NullFlag int64    `json:"null_flag"`
				Type     int64    `json:"type"`
			} `json:"refer"`
			Seo           string      `json:"seo"`
			ServiceType   string      `json:"service_type"`
			SslCertID     string      `json:"ssl_cert_id"`
			SslCertName   string      `json:"ssl_cert_name"`
			SslDeployTime interface{} `json:"ssl_deploy_time"`
			SslExpireTime interface{} `json:"ssl_expire_time"`
			SslType       int64       `json:"ssl_type"`
			Status        int64       `json:"status"`
			TegStatus     string      `json:"teg_status"`
			TestURL       string      `json:"test_url"`
			UpdateTime    string      `json:"update_time"`
		} `json:"hosts"`
		Total int64 `json:"total"`
	} `json:"data"`
	Message string `json:"message"`
}
    func GetHostInfoById ¶
func GetHostInfoById(ids ...string) (*GetHostInfoByIdResp, error)
func (*GetHostInfoByIdResp) String ¶ added in v1.1.0
func (r *GetHostInfoByIdResp) String(args ...interface{}) (string, error)
type Host ¶
type Host struct {
	Id             int64         `json:"id"`
	AppId          int64         `json:"app_id"`
	FinalPids      int           `json:"final_pids"`
	HostId         int           `json:"host_id"`
	ProjectId      int64         `json:"project_id"`
	Cache          []interface{} `json:"cache"`
	CacheMode      string        `json:"cache_mode"`
	Cname          string        `json:"cname"`
	CosKey         interface{}   `json:"cos_key"`
	CreateTime     string        `json:"create_time"`
	Deleted        string        `json:"deleted"`
	Disabled       int           `json:"disabled"`
	FurlCache      string        `json:"furl_cache"`
	FwdHost        string        `json:"fwd_host"`
	FwdHostType    string        `json:"fwd_host_type"`
	Host           string        `json:"host"`
	HostConfig     *HostConfig   `json:"host_config"`
	HostType       string        `json:"host_type"`
	Http2          int           `json:"http2"`
	HttpsConfig    interface{}   `json:"https_config"`
	Message        string        `json:"message"`
	MiddleResource int           `json:"middle_resource"`
	Origin         string        `json:"origin"`
	OwnerUin       int64         `json:"owner_uin"`
	PidConfig      interface{}   `json:"pid_config"`
	Readonly       int           `json:"readonly"`
	Refer          interface{}   `json:"refer"`
	Seo            string        `json:"seo"`
	ServiceType    string        `json:"service_type"`
	SslCertName    string        `json:"ssl_cert_name"`
	SslDeployTime  interface{}   `json:"ssl_deploy_time"`
	SslExpireTime  interface{}   `json:"ssl_expire_time"`
	SslType        int           `json:"ssl_type"`
	Status         int           `json:"status"`
	TegStatus      string        `json:"teg_status"`
	TestUrl        string        `json:"test_url"`
	UpdateTime     string        `json:"update_time"`
}
    type HostConfig ¶
type HostConfig struct {
	AdvancedCache        []interface{} `json:"advanced_cache"`
	AdvancedMaxage       []interface{} `json:"advanced_maxage"`
	BackupOrigin         interface{}   `json:"backup_origin"`
	ChunkFdSwitch        interface{}   `json:"chunkFd_switch"`
	ClusterSwitch        interface{}   `json:"cluster_switch"`
	Compression          interface{}   `json:"compression"`
	DedicateLine         int           `json:"dedicate_line" console:"International Direct Connect"`
	DetailReqHeader      []interface{} `json:"detail_req_header"`
	DetailRspHeader      []interface{} `json:"detail_rsp_header"`
	Follow302Switch      interface{}   `json:"follow302_switch"`
	IpCc                 interface{}   `json:"ip_cc"`
	IpFreqLimit          interface{}   `json:"ip_freq_limit"`
	OverseaFeatureSwitch interface{}   `json:"oversea_feature_switch"`
	SrcMethod            interface{}   `json:"src_method"`
	StatusCache          []interface{} `json:"status_cache"`
	VideoSwitch          interface{}   `json:"video_switch"`
}
    type OfflineHostResp ¶ added in v1.1.0
type OfflineHostResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Message  string `json:"message"`
}
    func OfflineHost ¶
func OfflineHost(options ...string) (*OfflineHostResp, error)
func (*OfflineHostResp) String ¶ added in v1.1.0
func (r *OfflineHostResp) String(args ...interface{}) (string, error)
type OnlineHostResp ¶ added in v1.1.0
type OnlineHostResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Message  string `json:"message"`
}
    func OnlineHost ¶
func OnlineHost(options ...string) (*OnlineHostResp, error)
func (*OnlineHostResp) String ¶ added in v1.1.0
func (r *OnlineHostResp) String(args ...interface{}) (string, error)
type RefreshCdnDirResp ¶ added in v1.1.0
type RefreshCdnDirResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		Count  int64  `json:"count"`
		TaskID string `json:"task_id"`
	} `json:"data"`
	Message string `json:"message"`
}
    func RefreshCdnDir ¶
func RefreshCdnDir(dirs ...string) (*RefreshCdnDirResp, error)
func (*RefreshCdnDirResp) String ¶ added in v1.1.0
func (r *RefreshCdnDirResp) String(args ...interface{}) (string, error)
type RefreshCdnUrlResp ¶ added in v1.1.0
type RefreshCdnUrlResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		Count  int64  `json:"count"`
		TaskID string `json:"task_id"`
	} `json:"data"`
	Message string `json:"message"`
}
    func RefreshCdnUrl ¶
func RefreshCdnUrl(urls ...string) (*RefreshCdnUrlResp, error)
func (*RefreshCdnUrlResp) String ¶ added in v1.1.0
func (r *RefreshCdnUrlResp) String(args ...interface{}) (string, error)
type RespGetHostInfo ¶
type RespGetHostInfo struct {
	Code     int              `json:"code"`
	CodeDesc string           `json:"codeDesc"`
	Data     *DataGetHostInfo `json:"data"`
	Message  string           `json:"message"`
}
    type UpdateCdnConfigResp ¶ added in v1.1.0
type UpdateCdnConfigResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Message  string `json:"message"`
}
    func UpdateCdnConfig ¶
func UpdateCdnConfig(options ...string) (*UpdateCdnConfigResp, error)
func (*UpdateCdnConfigResp) String ¶ added in v1.1.0
func (r *UpdateCdnConfigResp) String(args ...interface{}) (string, error)
       Source Files
      ¶
      Source Files
      ¶
    
- AddCdnHost.go
- CdnOverseaPushser.go
- DeleteCdnHost.go
- DescribeCdnHostDetailedInfo.go
- DescribeCdnHostInfo.go
- DescribeCdnHosts.go
- GetCdnHostsDetailStatistics.go
- GetCdnHostsHyStat.go
- GetCdnLogList.go
- GetCdnMiddleSourceList.go
- GetCdnOverseaRefreshLog.go
- GetCdnProvIspDetailStat.go
- GetCdnRefreshLog.go
- GetCdnStatTop.go
- GetCdnStatusCode.go
- GetHostInfoByHost.go
- GetHostInfoById.go
- OfflineHost.go
- OnlineHost.go
- RefreshCdnDir.go
- RefreshCdnOverseaDir.go
- RefreshCdnOverseaUrl.go
- RefreshCdnUrl.go
- UpdateCache.go
- UpdateCdnConfig.go
- UpdateCdnProject.go
- do.go
- host.go
 Click to show internal directories. 
   Click to hide internal directories.