Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnauthorizedError ¶
func UnauthorizedError(w http.ResponseWriter, message string)
UnauthorizedError is simple Error Wrapper
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func NewAPIWithVersion ¶
func NewAPIWithVersion(config *conf.Configuration, version string) *API
func (*API) ListenAndServe ¶
ListenAndServe starts the REST API
Click to show internal directories.
Click to hide internal directories.