proxyrtsp

package
v0.0.0-...-51fd5d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateHandler

func CreateHandler(api *api.API) func(c *gin.Context)

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

func DeleteHandler(api *api.API) func(c *gin.Context)

Deletes a reverse proxy. Responses:

  • 404 If reverse proxy not found.
  • 200 If succeeded.

func GetHandler

func GetHandler(api *api.API) func(c *gin.Context)

Get a reverse proxy. Responses:

  • 404 If reverse proxy not found.
  • 200 If succeeded.

func GetTokenHandler

func GetTokenHandler(api *api.API) func(c *gin.Context)

Get a reverse proxy. Responses:

  • 404 If reverse proxy not found.
  • 200 If succeeded.

func MGetHandler

func MGetHandler(api *api.API) func(c *gin.Context)

Get a reverse proxy. Responses:

  • 404 If reverse proxy not found.
  • 200 If succeeded.

func UpdateHandler

func UpdateHandler(api *api.API) func(c *gin.Context)

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.

func WSStreamHandler

func WSStreamHandler(api *apipkt.API) func(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL