deeptrace

package
v2.61.6 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteDeepTraceSession

func DeleteDeepTraceSession(service *services.Service, deviceID int, traceID string) (*http.Response, error)

func GetDeepTraceSession

func GetDeepTraceSession(service *services.Service, deviceID int, traceID string) (*http.Response, error)

Types

type DeepTraceSession

type DeepTraceSession struct {
	TraceID             string       `json:"trace_id"`
	TraceDetails        TraceDetails `json:"trace_details,omitempty"`
	Status              string       `json:"status,omitempty"`
	CreatedAt           int          `json:"created_at,omitempty"`
	StartedAt           int          `json:"started_at,omitempty"`
	EndedAt             int          `json:"ended_at,omitempty"`
	ExpectedTimeMinutes int          `json:"expected_time_minutes,omitempty"`
}

func CreateDeepTraceSession

func CreateDeepTraceSession(service *services.Service, deviceID int, payload DeepTraceSessionPayload) (*DeepTraceSession, *http.Response, error)

func GetDeepTraces

func GetDeepTraces(service *services.Service, deviceID int) ([]DeepTraceSession, *http.Response, error)

type DeepTraceSessionPayload

type DeepTraceSessionPayload struct {
	SessionName          string `json:"session_name"`
	AppID                int    `json:"app_id"`
	WebProbeID           int    `json:"web_probe_id"`
	CloudPathProbeID     int    `json:"cloud_path_probe_id"`
	SessionLengthMinutes int    `json:"session_length_minutes"`
	ProbeDevice          bool   `json:"probe_device"`
}

type TraceDetails

type TraceDetails struct {
	SessionName        string `json:"session_name"`
	AppID              string `json:"app_id"`
	AppName            string `json:"app_name"`
	UserID             string `json:"user_id,omitempty"`
	Username           string `json:"username,omitempty"`
	DeviceID           string `json:"device_id,omitempty"`
	DeviceName         string `json:"device_name,omitempty"`
	WebProbeID         string `json:"web_probe_id,omitempty"`
	WebProbeName       string `json:"web_probe_name,omitempty"`
	CloudPathProbeID   string `json:"cloudpath_probe_id,omitempty"`
	CloudPathProbeName string `json:"cloud_path_name,omitempty"`
	SessionLength      int    `json:"session_length,omitempty"`
	ProbeDevice        bool   `json:"probe_device,omitempty"`
}

Jump to

Keyboard shortcuts

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