Documentation
¶
Index ¶
- type Service
- func (s *Service) CancelCapture(id string) (diagnostics.Capture, error)
- func (s *Service) CompareCaptures(baseline, candidate string) (diagnostics.Comparison, error)
- func (s *Service) DeleteCapture(id string) error
- func (s *Service) GetCapture(id string) (diagnostics.Capture, error)
- func (s *Service) GetCatalog() diagnostics.Catalog
- func (s *Service) GetHistory() diagnostics.History
- func (s *Service) GetSnapshot() diagnostics.Snapshot
- func (s *Service) ListCaptures() []diagnostics.CaptureSummary
- func (s *Service) ServiceShutdown(context.Context) error
- func (s *Service) StartCapture(request diagnostics.CaptureRequest) (diagnostics.Capture, error)
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 ¶
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) StartCapture ¶
func (s *Service) StartCapture(request diagnostics.CaptureRequest) (diagnostics.Capture, error)
Click to show internal directories.
Click to hide internal directories.