api

package
v0.0.0-...-2bc12df Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

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:

  1. A channel to initiate the shutdown (stopCh). stopCh accepts a Context object that is used to cancel a stalled shutdown.

  2. A read-only channel that signals whether the server was shutdown.

  3. An error object

Types

This section is empty.

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
rql
ast
Package apitypes declares types common to the API client and server.
Package apitypes declares types common to the API client and server.

Jump to

Keyboard shortcuts

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