package
0.1.0
Repository: https://github.com/emc-cmd/libstorage.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

Close closes all servers.
CloseOnAbort is a helper function that can be called by programs, such as tests or a command line or service application.
IsNil returns a flag indicating whether a server returned by the Serve function is nil.
NewConfig returns a confiburation object from basic inputs.
Run runs the server and blocks until a Kill signal is received by the owner process or the server returns an error via its error channel.
RunWithConfig runs the server by specifying a configuration object and blocks until a Kill signal is received by the owner process or the server returns an error via its error channel.
Serve starts serving the configured libStorage endpoints.
Start starts the server and returns a channel when errors occur runs until a Kill signal is received by the owner process or the server returns an error via its error channel.
StartWithConfig starts the server by specifying a configuration object and returns a channel when errors occur runs until a Kill signal is received by the owner process or the server returns an error via its error channel.

# Structs

HTTPServer contains an instance of http server and the listener.