request

package
v1.0.20250928075430 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertmanagerSilenceResponse

type AlertmanagerSilenceResponse struct {
	Status string `json:"status"`
	Data   struct {
		SilenceId string `json:"silenceId"`
	} `json:"data"`
}

AlertmanagerSilenceResponse 表示告警管理器静默响应结构体

type RobotTenantAccessTokenReq

type RobotTenantAccessTokenReq struct {
	AppID     string `json:"app_id"`     // 应用 ID
	AppSecret string `json:"app_secret"` // 应用密钥
}

RobotTenantAccessTokenReq 表示获取租户访问令牌的请求结构体

type RobotTenantAccessTokenRes

type RobotTenantAccessTokenRes struct {
	Code              int    `json:"code"`                // 响应代码
	Expire            int    `json:"expire"`              // 令牌过期时间(秒)
	Message           string `json:"message"`             // 响应消息
	TenantAccessToken string `json:"tenant_access_token"` // 获取到的租户访问令牌
}

RobotTenantAccessTokenRes 表示租户访问令牌请求的响应结构体

Jump to

Keyboard shortcuts

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