package
0.0.6
Repository: https://github.com/dsh2dsh/check_syncthing.git
Documentation: pkg.go.dev

# Functions

Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewCompletionRequest generates requests for Completion.
NewConnectionsRequest generates requests for Connections.
NewDevicesRequest generates requests for Devices.
NewDeviceStatsRequest generates requests for DeviceStats.
NewFolderErrorsRequest generates requests for FolderErrors.
NewFoldersRequest generates requests for Folders.
NewHealthRequest generates requests for Health.
NewSystemErrorsRequest generates requests for SystemErrors.
NewSystemStatusRequest generates requests for SystemStatus.
ParseCompletionResponse parses an HTTP response from a CompletionWithResponse call.
ParseConnectionsResponse parses an HTTP response from a ConnectionsWithResponse call.
ParseDevicesResponse parses an HTTP response from a DevicesWithResponse call.
ParseDeviceStatsResponse parses an HTTP response from a DeviceStatsWithResponse call.
ParseFolderErrorsResponse parses an HTTP response from a FolderErrorsWithResponse call.
ParseFoldersResponse parses an HTTP response from a FoldersWithResponse call.
ParseHealthResponse parses an HTTP response from a HealthWithResponse call.
ParseSystemErrorsResponse parses an HTTP response from a SystemErrorsWithResponse call.
ParseSystemStatusResponse parses an HTTP response from a SystemStatusWithResponse call.
WithBaseURL overrides the baseURL.
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client.
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request.

# Structs

Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
CompletionParams defines parameters for Completion.
No description provided by the author
ConnectionInfo defines model for ConnectionInfo.
Connections defines model for Connections.
No description provided by the author
ConnectionStats defines model for ConnectionStats.
ConnectionStatusEntry defines model for ConnectionStatusEntry.
ConnectionsTotal defines model for ConnectionsTotal.
DeviceConfiguration defines model for DeviceConfiguration.
No description provided by the author
DeviceStatistics defines model for DeviceStatistics.
No description provided by the author
DiscoveryStatusEntry defines model for DiscoveryStatusEntry.
Error defines model for Error.
FileError defines model for FileError.
FolderCompletion defines model for FolderCompletion.
FolderConfiguration defines model for FolderConfiguration.
FolderDeviceConfiguration defines model for FolderDeviceConfiguration.
FolderErrors defines model for FolderErrors.
FolderErrorsParams defines parameters for FolderErrors.
No description provided by the author
No description provided by the author
No description provided by the author
HealthStatus defines model for HealthStatus.
ListenerStatusEntry defines model for ListenerStatusEntry.
LogLine defines model for LogLine.
ObservedFolder defines model for ObservedFolder.
Size defines model for Size.
SystemErrors defines model for SystemErrors.
No description provided by the author
SystemStatus defines model for SystemStatus.
No description provided by the author
VersioningConfiguration defines model for VersioningConfiguration.
XattrFilter defines model for XattrFilter.
XattrFilterEntry defines model for XattrFilterEntry.

# Interfaces

The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
Doer performs HTTP requests.

# Type aliases

ClientOption allows setting custom parameters during construction.
RequestEditorFn is the function signature for the RequestEditor callback function.