analysis

package
v2.61.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAnalysis

func CreateAnalysis(service *services.Service, request AnalysisRequest) (*http.Response, error)

func DeleteAnalysis

func DeleteAnalysis(service *services.Service, analysisID string) (*http.Response, error)

Types

type AnalysisRequest

type AnalysisRequest struct {
	DeviceID int `json:"device_id"`
	AppID    int `json:"app_id"`
	T0       int `json:"t0"`
	T1       int `json:"t1"`
}

type AnalysisResult

type AnalysisResult struct {
	ErrMsg string `json:"err_msg"`
	Result Result `json:"result"`
}

func GetAnalysis

func GetAnalysis(service *services.Service, analysisID string) (*AnalysisResult, *http.Response, error)

type Result

type Result struct {
	Issue      string `json:"issue"`
	Confidence int    `json:"confidence"`
	Message    string `json:"message"`
	Times      []int  `json:"times"`
}

Jump to

Keyboard shortcuts

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