host

package
v0.35.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service exposes the native-free diagnostics service to Wails.

func NewService

func NewService(core *diagnostics.Service, server *diagnostics.HTTPServer) *Service

func (*Service) CancelCapture

func (s *Service) CancelCapture(id string) (diagnostics.Capture, error)

func (*Service) CompareCaptures

func (s *Service) CompareCaptures(baseline, candidate string) (diagnostics.Comparison, error)

func (*Service) DeleteCapture

func (s *Service) DeleteCapture(id string) error

DeleteCapture removes a finished capture so its slot and storage can be reused.

func (*Service) GetCapture

func (s *Service) GetCapture(id string) (diagnostics.Capture, error)

func (*Service) GetCatalog

func (s *Service) GetCatalog() diagnostics.Catalog

func (*Service) GetHistory

func (s *Service) GetHistory() diagnostics.History

func (*Service) GetSnapshot

func (s *Service) GetSnapshot() diagnostics.Snapshot

func (*Service) ListCaptures

func (s *Service) ListCaptures() []diagnostics.CaptureSummary

func (*Service) ServiceShutdown

func (s *Service) ServiceShutdown(context.Context) error

func (*Service) StartCapture

func (s *Service) StartCapture(request diagnostics.CaptureRequest) (diagnostics.Capture, error)

Jump to

Keyboard shortcuts

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