Documentation ¶
Index ¶
- func CreateHandler(api *api.API) func(c *gin.Context)
- func DeleteHandler(api *api.API) func(c *gin.Context)
- func GetHandler(api *api.API) func(c *gin.Context)
- func GetTokenHandler(api *api.API) func(c *gin.Context)
- func MGetHandler(api *api.API) func(c *gin.Context)
- func UpdateHandler(api *api.API) func(c *gin.Context)
- func WSStreamHandler(api *apipkt.API) func(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHandler ¶
Creates a reverse proxy. Responses:
- 400 If invalid body.
- 400 If json fields are invalid.
- 400 If path is already in use.
- 200 If succeeded.
func DeleteHandler ¶
Deletes a reverse proxy. Responses:
- 404 If reverse proxy not found.
- 200 If succeeded.
func GetTokenHandler ¶
Get a reverse proxy. Responses:
- 404 If reverse proxy not found.
- 200 If succeeded.
func MGetHandler ¶
Get a reverse proxy. Responses:
- 404 If reverse proxy not found.
- 200 If succeeded.
func UpdateHandler ¶
Upadtes a reverse proxy. Responses:
- 400 If invalid body.
- 400 If json fields are invalid.
- 400 If path is already in use.
- 404 If reverse proxy not found.
- 200 If succeeded.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.