package
0.0.0-20200102110956-c9a8a2d92ccc
Repository: https://github.com/gseibt/go-plugins-helpers.git
Documentation: pkg.go.dev
# Functions
DecodeRequest decodes an http request into a given structure.
EncodeResponse encodes the given structure into an http response.
NewHandler creates a new Handler with an http mux.
PluginSpecDir returns plugin spec dir in relation to daemon root directory.
StreamResponse streams a response object to the client.
WindowsDefaultDaemonRootDir returns default data directory of docker daemon on Windows.
# Constants
DefaultContentTypeV1_1 is the default content type accepted and sent by the plugins.
# Structs
Handler is the base to create plugin handlers.
WindowsPipeConfig is a helper structure for configuring named pipe parameters on Windows.