Versions in this module Expand all Collapse all v0 v0.3.0 Jan 25, 2023 v0.2.0 Jan 25, 2023 v0.1.0 Jan 25, 2023 Changes in this version + type CategoriesInDescribeThreatDistribute struct + CategoriesItem []string + type CategoriesInDescribeThreatTypeLines struct + CategoriesItem []string + type CategoriesInDescribeTotalAndRateLine struct + CategoriesItem []string + type Client struct + func NewClient() (client *Client, err error) + func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) + func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) + func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) + func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) + func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) + func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) + func (client *Client) DescribeAccountProfileByKey(request *DescribeAccountProfileByKeyRequest) (response *DescribeAccountProfileByKeyResponse, err error) + func (client *Client) DescribeAccountProfileByKeyWithCallback(request *DescribeAccountProfileByKeyRequest, ...) <-chan int + func (client *Client) DescribeAccountProfileByKeyWithChan(request *DescribeAccountProfileByKeyRequest) (<-chan *DescribeAccountProfileByKeyResponse, <-chan error) + func (client *Client) DescribeAccountProfileByKeyWord(request *DescribeAccountProfileByKeyWordRequest) (response *DescribeAccountProfileByKeyWordResponse, err error) + func (client *Client) DescribeAccountProfileByKeyWordWithCallback(request *DescribeAccountProfileByKeyWordRequest, ...) <-chan int + func (client *Client) DescribeAccountProfileByKeyWordWithChan(request *DescribeAccountProfileByKeyWordRequest) (<-chan *DescribeAccountProfileByKeyWordResponse, <-chan error) + func (client *Client) DescribeHitRateColumn(request *DescribeHitRateColumnRequest) (response *DescribeHitRateColumnResponse, err error) + func (client *Client) DescribeHitRateColumnWithCallback(request *DescribeHitRateColumnRequest, ...) <-chan int + func (client *Client) DescribeHitRateColumnWithChan(request *DescribeHitRateColumnRequest) (<-chan *DescribeHitRateColumnResponse, <-chan error) + func (client *Client) DescribeHitRatePie(request *DescribeHitRatePieRequest) (response *DescribeHitRatePieResponse, err error) + func (client *Client) DescribeHitRatePieWithCallback(request *DescribeHitRatePieRequest, ...) <-chan int + func (client *Client) DescribeHitRatePieWithChan(request *DescribeHitRatePieRequest) (<-chan *DescribeHitRatePieResponse, <-chan error) + func (client *Client) DescribePerDateData(request *DescribePerDateDataRequest) (response *DescribePerDateDataResponse, err error) + func (client *Client) DescribePerDateDataWithCallback(request *DescribePerDateDataRequest, ...) <-chan int + func (client *Client) DescribePerDateDataWithChan(request *DescribePerDateDataRequest) (<-chan *DescribePerDateDataResponse, <-chan error) + func (client *Client) DescribeThreatDistribute(request *DescribeThreatDistributeRequest) (response *DescribeThreatDistributeResponse, err error) + func (client *Client) DescribeThreatDistributeWithCallback(request *DescribeThreatDistributeRequest, ...) <-chan int + func (client *Client) DescribeThreatDistributeWithChan(request *DescribeThreatDistributeRequest) (<-chan *DescribeThreatDistributeResponse, <-chan error) + func (client *Client) DescribeThreatTypeLines(request *DescribeThreatTypeLinesRequest) (response *DescribeThreatTypeLinesResponse, err error) + func (client *Client) DescribeThreatTypeLinesWithCallback(request *DescribeThreatTypeLinesRequest, ...) <-chan int + func (client *Client) DescribeThreatTypeLinesWithChan(request *DescribeThreatTypeLinesRequest) (<-chan *DescribeThreatTypeLinesResponse, <-chan error) + func (client *Client) DescribeTotalAndRateLine(request *DescribeTotalAndRateLineRequest) (response *DescribeTotalAndRateLineResponse, err error) + func (client *Client) DescribeTotalAndRateLineWithCallback(request *DescribeTotalAndRateLineRequest, ...) <-chan int + func (client *Client) DescribeTotalAndRateLineWithChan(request *DescribeTotalAndRateLineRequest) (<-chan *DescribeTotalAndRateLineResponse, <-chan error) + func (client *Client) GetAccountProfile(request *GetAccountProfileRequest) (response *GetAccountProfileResponse, err error) + func (client *Client) GetAccountProfileWithCallback(request *GetAccountProfileRequest, ...) <-chan int + func (client *Client) GetAccountProfileWithChan(request *GetAccountProfileRequest) (<-chan *GetAccountProfileResponse, <-chan error) + func (client *Client) GetInstanceCount(request *GetInstanceCountRequest) (response *GetInstanceCountResponse, err error) + func (client *Client) GetInstanceCountWithCallback(request *GetInstanceCountRequest, ...) <-chan int + func (client *Client) GetInstanceCountWithChan(request *GetInstanceCountRequest) (<-chan *GetInstanceCountResponse, <-chan error) + func (client *Client) GetIpProfile(request *GetIpProfileRequest) (response *GetIpProfileResponse, err error) + func (client *Client) GetIpProfileWithCallback(request *GetIpProfileRequest, ...) <-chan int + func (client *Client) GetIpProfileWithChan(request *GetIpProfileRequest) (<-chan *GetIpProfileResponse, <-chan error) + func (client *Client) GetPhoneProfile(request *GetPhoneProfileRequest) (response *GetPhoneProfileResponse, err error) + func (client *Client) GetPhoneProfileWithCallback(request *GetPhoneProfileRequest, ...) <-chan int + func (client *Client) GetPhoneProfileWithChan(request *GetPhoneProfileRequest) (<-chan *GetPhoneProfileResponse, <-chan error) + type Data struct + Info string + Ip string + IpInfo string + Phone string + PhoneInfo string + type DataView struct + CallTimes int + DataTime string + HitRate int + IsBlackCampaign1d int + IsBlackCampaign30d int + IsBlackCampaign7d int + IsBlackPhone int + IsBotnet1d int + IsBotnet30d int + IsBotnet7d int + IsC21d int + IsC230d int + IsC27d int + IsCheatFlow1d int + IsCheatFlow30d int + IsCheatFlow7d int + IsGreyPhone int + IsHiJack1d int + IsHiJack30d int + IsHiJack7d int + IsNetAttack1d int + IsNetAttack30d int + IsNetAttack7d int + IsOpenCommonPort1d int + IsOpenCommonPort30d int + IsOpenCommonPort7d int + IsProxy1d int + IsProxy30d int + IsProxy7d int + IsVirtualOperator int + TotalHit int + type DataViewInDescribePerDateData struct + DataView []DataView + type DescribeAccountProfileByKeyRequest struct + Keyword string + SourceIp string + func CreateDescribeAccountProfileByKeyRequest() (request *DescribeAccountProfileByKeyRequest) + type DescribeAccountProfileByKeyResponse struct + Ip string + IpInfo string + KeywordCount int + KeywordLimit int + Phone string + PhoneInfo string + RequestId string + func CreateDescribeAccountProfileByKeyResponse() (response *DescribeAccountProfileByKeyResponse) + type DescribeAccountProfileByKeyWordRequest struct + Keyword string + SourceIp string + func CreateDescribeAccountProfileByKeyWordRequest() (request *DescribeAccountProfileByKeyWordRequest) + type DescribeAccountProfileByKeyWordResponse struct + Ip string + IpInfo string + Phone string + PhoneInfo string + RequestId string + func CreateDescribeAccountProfileByKeyWordResponse() (response *DescribeAccountProfileByKeyWordResponse) + type DescribeHitRateColumnRequest struct + ApiType requests.Integer + EndDate string + HitDay requests.Integer + SourceIp string + StartDate string + func CreateDescribeHitRateColumnRequest() (request *DescribeHitRateColumnRequest) + type DescribeHitRateColumnResponse struct + Items []ItemInDescribeHitRateColumn + RequestId string + TimeScope TimeScope + func CreateDescribeHitRateColumnResponse() (response *DescribeHitRateColumnResponse) + type DescribeHitRatePieRequest struct + ApiType requests.Integer + EndDate string + HitDay requests.Integer + SourceIp string + StartDate string + func CreateDescribeHitRatePieRequest() (request *DescribeHitRatePieRequest) + type DescribeHitRatePieResponse struct + Items []ItemInDescribeHitRatePie + RequestId string + func CreateDescribeHitRatePieResponse() (response *DescribeHitRatePieResponse) + type DescribePerDateDataRequest struct + ApiType requests.Integer + SourceIp string + func CreateDescribePerDateDataRequest() (request *DescribePerDateDataRequest) + type DescribePerDateDataResponse struct + DataView []DataView + RequestId string + func CreateDescribePerDateDataResponse() (response *DescribePerDateDataResponse) + type DescribeThreatDistributeRequest struct + ApiType requests.Integer + EndDate string + HitDay requests.Integer + SourceIp string + StartDate string + func CreateDescribeThreatDistributeRequest() (request *DescribeThreatDistributeRequest) + type DescribeThreatDistributeResponse struct + Categories []string + Items []Item + RequestId string + func CreateDescribeThreatDistributeResponse() (response *DescribeThreatDistributeResponse) + type DescribeThreatTypeLinesRequest struct + ApiType requests.Integer + SourceIp string + func CreateDescribeThreatTypeLinesRequest() (request *DescribeThreatTypeLinesRequest) + type DescribeThreatTypeLinesResponse struct + Categories []string + Items []Item + RequestId string + func CreateDescribeThreatTypeLinesResponse() (response *DescribeThreatTypeLinesResponse) + type DescribeTotalAndRateLineRequest struct + ApiType requests.Integer + SourceIp string + func CreateDescribeTotalAndRateLineRequest() (request *DescribeTotalAndRateLineRequest) + type DescribeTotalAndRateLineResponse struct + Categories []string + Items []Item + RequestId string + func CreateDescribeTotalAndRateLineResponse() (response *DescribeTotalAndRateLineResponse) + type GetAccountProfileRequest struct + AccessTimestamp requests.Integer + BusinessType requests.Integer + Carrier requests.Integer + ConnectionType requests.Integer + DeviceIdMd5 string + DeviceType requests.Integer + Ip string + Os string + Phone string + RequestUrl string + SensType requests.Integer + UserAgent string + func CreateGetAccountProfileRequest() (request *GetAccountProfileRequest) + type GetAccountProfileResponse struct + Code int + Data Data + Message string + RequestId string + Success bool + func CreateGetAccountProfileResponse() (response *GetAccountProfileResponse) + type GetInstanceCountRequest struct + OwnerId requests.Integer + func CreateGetInstanceCountRequest() (request *GetInstanceCountRequest) + type GetInstanceCountResponse struct + Code string + Data int + Message string + RequestId string + Success bool + func CreateGetInstanceCountResponse() (response *GetInstanceCountResponse) + type GetIpProfileRequest struct + BusinessType requests.Integer + Carrier requests.Integer + ConnectionType requests.Integer + DeviceIdMd5 string + DeviceType requests.Integer + Ip string + Os string + RequestUrl string + SensType requests.Integer + UserAgent string + func CreateGetIpProfileRequest() (request *GetIpProfileRequest) + type GetIpProfileResponse struct + Code int + Data Data + Message string + RequestId string + Success bool + func CreateGetIpProfileResponse() (response *GetIpProfileResponse) + type GetPhoneProfileRequest struct + BusinessType requests.Integer + DataVersion string + Phone string + SensType requests.Integer + func CreateGetPhoneProfileRequest() (request *GetPhoneProfileRequest) + type GetPhoneProfileResponse struct + Code int + Data Data + Message string + RequestId string + Success bool + func CreateGetPhoneProfileResponse() (response *GetPhoneProfileResponse) + type Item struct + Data float64 + Id string + Name string + type ItemInDescribeHitRateColumn struct + Data int + Id string + Name string + type ItemInDescribeHitRatePie struct + Data int + Name string + type ItemsInDescribeHitRateColumn struct + Item []ItemInDescribeHitRateColumn + type ItemsInDescribeHitRatePie struct + Item []ItemInDescribeHitRatePie + type ItemsInDescribeThreatDistribute struct + Item []Item + type ItemsInDescribeThreatTypeLines struct + Item []Item + type ItemsInDescribeTotalAndRateLine struct + Item []Item + type TimeScope struct + Interval int + Start int