operation

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientVersion

type ClientVersion struct {
	Type              int64    `json:"type"`
	ClientVersionList []string `json:"client_version_list"`
}

ClientVersion 客户端版本

type DefaultTimeDataItem

type DefaultTimeDataItem struct {
	RefData      string `json:"ref_data"`
	CostTimeType int64  `json:"cost_time_type"`
	CostTime     int64  `json:"cost_time"`
}

DefaultTimeDataItem 查询数据

type Feedback

type Feedback struct {
	RecordID   int64    `json:"record_id"`
	CreateTime int64    `json:"create_time"`
	Content    string   `json:"content"`
	Phone      string   `json:"phone"`
	OpenID     string   `json:"openid"`
	Nickname   string   `json:"nickname"`
	HeadURL    string   `json:"head_url"`
	Type       int64    `json:"type"`
	MediaIDS   []string `json:"mediaIds"`
	SystemInfo string   `json:"systemInfo"`
}

Feedback 反馈列表

type GetDomainInfoRequest

type GetDomainInfoRequest struct {
	Action string `json:"action"`
}

GetDomainInfoRequest 查询域名配置请求

type GetDomainInfoResponse

type GetDomainInfoResponse struct {
	util.CommonError
	RequestDomain   []string `json:"requestdomain"`
	WsRequestDomain []string `json:"wsrequestdomain"`
	UploadDomain    []string `json:"uploaddomain"`
	DownloadDomain  []string `json:"downloaddomain"`
	UDPDomain       []string `json:"udpdomain"`
	BizDomain       []string `json:"bizdomain"`
}

GetDomainInfoResponse 查询域名配置响应

type GetFeedbackListRequest

type GetFeedbackListRequest struct {
	Page int64
	Num  int64
	Type int64
}

GetFeedbackListRequest 获取用户反馈列表请求

type GetFeedbackListResponse

type GetFeedbackListResponse struct {
	util.CommonError
	TotalNum int64      `json:"total_num"`
	List     []Feedback `json:"list"`
}

GetFeedbackListResponse 获取用户反馈列表响应

type GetGrayReleasePlanResponse

type GetGrayReleasePlanResponse struct {
	util.CommonError
	GrayReleasePlan GrayReleasePlanDetail `json:"gray_release_plan"`
}

GetGrayReleasePlanResponse 获取分阶段发布详情响应

type GetJsErrDetailRequest

type GetJsErrDetailRequest struct {
	StartTime     string `json:"startTime"`
	EndTime       string `json:"endTime"`
	ErrorMsgMd5   string `json:"errorMsgMd5"`
	ErrorStackMd5 string `json:"errorStackMd5"`
	AppVersion    string `json:"appVersion"`
	SdkVersion    string `json:"sdkVersion"`
	OsName        string `json:"osName"`
	ClientVersion string `json:"clientVersion"`
	OpenID        string `json:"openid"`
	Offset        int64  `json:"offset"`
	Limit         int64  `json:"limit"`
	Desc          string `json:"desc"`
}

GetJsErrDetailRequest 查询js错误详情请求

type GetJsErrDetailResponse

type GetJsErrDetailResponse struct {
	util.CommonError
	TotalCount int64             `json:"totalCount"`
	OpenID     string            `json:"openid"`
	Data       []JsErrDetailData `json:"data"`
}

GetJsErrDetailResponse 查询js错误详情响应

type GetJsErrListRequest

type GetJsErrListRequest struct {
	AppVersion string `json:"appVersion"`
	ErrType    string `json:"errType"`
	StartTime  string `json:"startTime"`
	EndTime    string `json:"endTime"`
	Keyword    string `json:"keyword"`
	OpenID     string `json:"openid"`
	OrderBy    string `json:"orderby"`
	Desc       string `json:"desc"`
	Offset     int64  `json:"offset"`
	Limit      int64  `json:"limit"`
}

GetJsErrListRequest 查询错误列表请求

type GetJsErrListResponse

type GetJsErrListResponse struct {
	util.CommonError
	TotalCount int64           `json:"totalCount"`
	OpenID     string          `json:"openid"`
	Data       []JsErrListData `json:"data"`
}

GetJsErrListResponse 查询错误列表响应

type GetPerformanceRequest

type GetPerformanceRequest struct {
	CostTimeType     int64  `json:"cost_time_type"`
	DefaultStartTime int64  `json:"default_start_time"`
	DefaultEndTime   int64  `json:"default_end_time"`
	Device           string `json:"device"`
	IsDownloadCode   string `json:"is_download_code"`
	Scene            string `json:"scene"`
	NetworkType      string `json:"networktype"`
}

GetPerformanceRequest 获取性能数据请求

type GetPerformanceResponse

type GetPerformanceResponse struct {
	util.CommonError
	DefaultTimeData string `json:"default_time_data"`
	CompareTimeData string `json:"compare_time_data"`
}

GetPerformanceResponse 获取性能数据响应

type GetSceneListResponse

type GetSceneListResponse struct {
	util.CommonError
	Scene []Scene `json:"scene"`
}

GetSceneListResponse 获取访问来源响应

type GetVersionListResponse

type GetVersionListResponse struct {
	util.CommonError
	CvList []ClientVersion `json:"cvlist"`
}

GetVersionListResponse 获取客户端版本响应

type GrayReleasePlanDetail

type GrayReleasePlanDetail struct {
	Status                  int64 `json:"status"`
	CreateTimestamp         int64 `json:"create_timestamp"`
	GrayPercentage          int64 `json:"gray_percentage"`
	SupportExperiencerFirst bool  `json:"support_experiencer_first"`
	SupportDebugerFirst     bool  `json:"support_debuger_first"`
}

GrayReleasePlanDetail 分阶段发布计划详情

type JsErrDetailData

type JsErrDetailData struct {
	Count         string `json:"Count"`
	SdkVersion    string `json:"sdkVersion"`
	ClientVersion string `json:"ClientVersion"`
	ErrorStackMd5 string `json:"errorStackMd5"`
	TimeStamp     string `json:"TimeStamp"`
	AppVersion    string `json:"appVersion"`
	ErrorMsgMd5   string `json:"errorMsgMd5"`
	ErrorMsg      string `json:"errorMsg"`
	ErrorStack    string `json:"errorStack"`
	Ds            string `json:"Ds"`
	OsName        string `json:"OsName"`
	OpenID        string `json:"openId"`
	PluginVersion string `json:"pluginversion"`
	AppID         string `json:"appId"`
	DeviceModel   string `json:"DeviceModel"`
	Source        string `json:"source"`
	Route         string `json:"route"`
	Uin           string `json:"Uin"`
	Nickname      string `json:"nickname"`
}

JsErrDetailData 错误列表

type JsErrListData

type JsErrListData struct {
	ErrorMsgMd5   string `json:"errorMsgMd5"`
	ErrorMsg      string `json:"errorMsg"`
	Uv            int64  `json:"uv"`
	Pv            int64  `json:"pv"`
	ErrorStackMd5 string `json:"errorStackMd5"`
	ErrorStack    string `json:"errorStack"`
	PvPercent     string `json:"pvPercent"`
	UvPercent     string `json:"uvPercent"`
}

JsErrListData 错误列表

type Operation

type Operation struct {
	*context.Context
}

Operation 运维中心

func NewOperation

func NewOperation(ctx *context.Context) *Operation

NewOperation 实例化

func (*Operation) GetFeedbackList

func (o *Operation) GetFeedbackList(req *GetFeedbackListRequest) (res GetFeedbackListResponse, err error)

GetFeedbackList 获取用户反馈列表 see https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/operation/getFeedback.html

func (*Operation) GetGrayReleasePlan

func (o *Operation) GetGrayReleasePlan() (res GetGrayReleasePlanResponse, err error)

GetGrayReleasePlan 获取分阶段发布详情 see https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/operation/getGrayReleasePlan.html

func (*Operation) GetJsErrDetail

func (o *Operation) GetJsErrDetail(req *GetJsErrDetailRequest) (res GetJsErrDetailResponse, err error)

GetJsErrDetail 查询js错误详情 see https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/operation/getJsErrDetail.html

func (*Operation) GetSceneList

func (o *Operation) GetSceneList() (res GetSceneListResponse, err error)

GetSceneList 获取访问来源 see https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/operation/getSceneList.html

func (*Operation) GetVersionList

func (o *Operation) GetVersionList() (res GetVersionListResponse, err error)

GetVersionList 获取客户端版本 see https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/operation/getVersionList.html

type PerformanceDefaultTimeData

type PerformanceDefaultTimeData struct {
	List []DefaultTimeDataItem `json:"list"`
}

PerformanceDefaultTimeData 查询数据

type RealTimeLogSearchData

type RealTimeLogSearchData struct {
	List  []RealTimeLogSearchDataList `json:"list"`
	Total int64                       `json:"total"`
}

RealTimeLogSearchData 日志数据和日志条数总量

type RealTimeLogSearchDataList

type RealTimeLogSearchDataList struct {
	Level          int64                          `json:"level"`
	LibraryVersion string                         `json:"libraryVersion"`
	ClientVersion  string                         `json:"clientVersion"`
	ID             string                         `json:"id"`
	Timestamp      int64                          `json:"timestamp"`
	Platform       int64                          `json:"platform"`
	URL            string                         `json:"url"`
	TraceID        string                         `json:"traceid"`
	FilterMsg      string                         `json:"filterMsg"`
	Msg            []RealTimeLogSearchDataListMsg `json:"msg"`
}

RealTimeLogSearchDataList 日志数据列表

type RealTimeLogSearchDataListMsg

type RealTimeLogSearchDataListMsg struct {
	Time  int64    `json:"time"`
	Level int64    `json:"level"`
	Msg   []string `json:"msg"`
}

RealTimeLogSearchDataListMsg 日志内容数组

type RealTimeLogSearchRequest

type RealTimeLogSearchRequest struct {
	Date      string
	BeginTime int64
	EndTime   int64
	Start     int64
	Limit     int64
	Level     int64
	TraceID   string
	URL       string
	ID        string
	FilterMsg string
}

RealTimeLogSearchRequest 查询实时日志请求

type RealTimeLogSearchResponse

type RealTimeLogSearchResponse struct {
	util.CommonError
	Data RealTimeLogSearchData `json:"data"`
}

RealTimeLogSearchResponse 查询实时日志响应

type Scene

type Scene struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

Scene 访问来源

Jump to

Keyboard shortcuts

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