Documentation ¶
Index ¶
Constants ¶
View Source
const ParamsFuncApiKey = "ApiKey"
View Source
const ParamsFuncHTTPBasic = "HTTPBasic"
View Source
const ParamsFuncHTTPBearer = "HTTPBearer"
View Source
const ParamsFuncRouter = "Router"
View Source
const ParamsTypeBodyJson = "application/json"
View Source
const ParamsTypeBodyXml = "application/xml"
View Source
const ParamsTypeCookie = "cookie"
View Source
const ParamsTypeFormData = "multipart/form-data"
View Source
const ParamsTypeFormUrlencoded = "application/x-www-form-urlencoded"
View Source
const ParamsTypeHeader = "header"
View Source
const ParamsTypePath = "path"
View Source
const ParamsTypeQuery = "query"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiKeyInterface ¶
type ApiKeyInterface interface {
ApiKey()
}
type File ¶
type File struct {
*multipart.FileHeader
}
type FormUrlencoded ¶
type FormUrlencoded struct { }
type HTTPBasicInterface ¶
type HTTPBasicInterface interface {
HTTPBasic(username, password string)
}
type HTTPBearerInterface ¶
type HTTPBearerInterface interface {
HTTPBearer(token string)
}
type RouterInterface ¶
type RouterInterface interface {
Router() Router
}
Click to show internal directories.
Click to hide internal directories.