Versions in this module Expand all Collapse all v0 v0.2.0 Oct 31, 2023 v0.1.0 Oct 28, 2023 Changes in this version + type SyncthingClient struct + Url string + func NewSyncthing(url string, apikey string, logger *zap.SugaredLogger) (*SyncthingClient, error) + func (s *SyncthingClient) GetDiskEvents(since int, timeout int, limit int) ([]events.Event, error) + func (s *SyncthingClient) GetEvents(eventTypes []events.EventType, since int, timeout int, limit int) ([]events.Event, error) + func (s *SyncthingClient) GetSystemStatus() (*domain.SystemStatus, error) + func (s *SyncthingClient) String() string + func (s *SyncthingClient) SubscribeEvent(eventTypes []events.EventType, since int) <-chan events.Event + func (s *SyncthingClient) UnsubscribeEvent(eventCh <-chan events.Event)