Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorUnsupportedMIMEType1 = errutil.NewFactory("unsupported MIME type: %q") ErrorHeaderRequired1 = errutil.NewFactory("header %q required") ErrorQueryParameterRequired1 = errutil.NewFactory("query parameter %q required") ErrorBindFailed = errutil.NewFactory("bind request body failed") ErrorResourceNotFound1 = errutil.NewFactory("resource %q not found in RAML file") ErrorWSDialFailed = errutil.NewFactory("websocket dial failed") ErrorWSUpgrdaeFailed = errutil.NewFactory("websocket upgrade failed") ErrorWSIOFailed = errutil.NewFactory("websocket IO failed") )
errors
View Source
var ( ErrorUnsupportedOutputType1 = errutil.NewFactory("unsupported output type %T") ErrorUnexpectedOutputType2 = errutil.NewFactory("output type mismatch, expected %q but got %q") )
errors
Functions ¶
func BuildResourcesMap ¶
BuildResourcesMap return resource map by resources string slice
Types ¶
Click to show internal directories.
Click to hide internal directories.