Documentation ¶
Overview ¶
Package Swagger go-blog-cors
These endpoints are provided as a proof of concept for CORS issues.
Schemes: http, https Host: localhost:8080 BasePath: / Version: 1.0.0 License: MIT http://opensource.org/licenses/MIT Contact: antonio-alexander<[email protected]> http://antonio-alexander.dev Consumes: - application/json Produces: - application/json Security: - basic SecurityDefinitions: basic: type: basic
swagger:meta
Index ¶
- type AuthorizePostParams
- type AuthorizePostResponseError
- type AuthorizePostResponseNotAuthorized
- type AuthorizePostResponseOK
- type HelloWorldGetParams
- type HelloWorldGetResponseOk
- type ProxyGetParams
- type ProxyGetResponseError
- type ProxyGetResponseOK
- type ProxyPostParams
- type ProxyPostResponseError
- type ProxyPostResponseOK
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizePostResponseError ¶
swagger:response AuthorizePostResponseError
type AuthorizePostResponseNotAuthorized ¶
swagger:response AuthorizePostResponseNotAuthorized
type AuthorizePostResponseOK ¶
swagger:response AuthorizePostResponseOK
type HelloWorldGetResponseOk ¶
swagger:response HelloWorldGetResponseOk
type ProxyGetParams ¶
type ProxyGetParams struct { // in: query Endpoint string `json:"endpoint"` }
swagger:parameters cors proxy_get
type ProxyGetResponseError ¶
swagger:response ProxyGetResponseError
type ProxyPostParams ¶
type ProxyPostParams struct { // in: query Endpoint string `json:"endpoint"` }
swagger:parameters cors proxy_post
type ProxyPostResponseError ¶
swagger:response ProxyPostResponseError
Click to show internal directories.
Click to hide internal directories.