Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartAPI ¶
func StartAPI( registry *plugin.Registry, mountpoint string, socketPath string, analyticsClient analytics.Client, ) (chan<- context.Context, <-chan struct{}, error)
StartAPI starts the api. It returns three values:
A channel to initiate the shutdown (stopCh). stopCh accepts a Context object that is used to cancel a stalled shutdown.
A read-only channel that signals whether the server was shutdown.
An error object
Types ¶
This section is empty.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package client provides helpers for interacting with the wash socket HTTP API.
|
Package client provides helpers for interacting with the wash socket HTTP API. |
Package apifs is used by the Wash API to convert local files/directories into Wash entries
|
Package apifs is used by the Wash API to convert local files/directories into Wash entries |
Package apitypes declares types common to the API client and server.
|
Package apitypes declares types common to the API client and server. |
Click to show internal directories.
Click to hide internal directories.