Documentation ¶
Overview ¶
Package controllers Contains all the api controllers
Schemes: http, https Host: 0.0.0.0, localhost BasePath: /v1/api Version 0.0.1 License: GPLv3 https://opensource.org/licenses/GPL-3.0 Contact: Alano Terblanche<alano@oleaintueri.com> https://oleaintueri.com Consumes: - application/json Produces: - application/json Schemes: http, https Deprecated: false Responses: default: genericResponse 500: genericResponse swagger:meta
Index ¶
- type ApiController
- func (ac *ApiController) CameraCreate(c *gin.Context)
- func (ac *ApiController) CameraDelete(c *gin.Context)
- func (ac *ApiController) CameraModelCreate(c *gin.Context)
- func (ac *ApiController) CameraModelRead(c *gin.Context)
- func (ac *ApiController) CameraRead(c *gin.Context)
- func (ac *ApiController) CameraUpdate(c *gin.Context)
- func (ac *ApiController) Login(c *gin.Context) (interface{}, error)
- func (ac *ApiController) NetworkProxyCreate(c *gin.Context)
- func (ac *ApiController) NetworkProxyRead(c *gin.Context)
- func (ac *ApiController) NetworkProxyReadScheme(c *gin.Context)
- func (ac *ApiController) NetworkProxyReadUUID(c *gin.Context)
- func (ac *ApiController) NetworkProxyUpdate(c *gin.Context)
- func (ac *ApiController) NetworkReadProtocol(c *gin.Context)
- func (ac *ApiController) UserCreate(c *gin.Context)
- func (ac *ApiController) UserDelete(c *gin.Context)
- func (ac *ApiController) UserRead(c *gin.Context)
- func (ac *ApiController) UserUpdate(c *gin.Context)
- func (ac *ApiController) Version(c *gin.Context)
- type Camera
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiController ¶
type ApiController struct {
// contains filtered or unexported fields
}
func NewApiController ¶
func NewApiController(db *procedures.DB) *ApiController
func (*ApiController) CameraCreate ¶
func (ac *ApiController) CameraCreate(c *gin.Context)
func (*ApiController) CameraDelete ¶
func (ac *ApiController) CameraDelete(c *gin.Context)
func (*ApiController) CameraModelCreate ¶
func (ac *ApiController) CameraModelCreate(c *gin.Context)
func (*ApiController) CameraModelRead ¶
func (ac *ApiController) CameraModelRead(c *gin.Context)
func (*ApiController) CameraRead ¶
func (ac *ApiController) CameraRead(c *gin.Context)
func (*ApiController) CameraUpdate ¶
func (ac *ApiController) CameraUpdate(c *gin.Context)
func (*ApiController) NetworkProxyCreate ¶
func (ac *ApiController) NetworkProxyCreate(c *gin.Context)
func (*ApiController) NetworkProxyRead ¶
func (ac *ApiController) NetworkProxyRead(c *gin.Context)
func (*ApiController) NetworkProxyReadScheme ¶
func (ac *ApiController) NetworkProxyReadScheme(c *gin.Context)
func (*ApiController) NetworkProxyReadUUID ¶
func (ac *ApiController) NetworkProxyReadUUID(c *gin.Context)
func (*ApiController) NetworkProxyUpdate ¶
func (ac *ApiController) NetworkProxyUpdate(c *gin.Context)
func (*ApiController) NetworkReadProtocol ¶
func (ac *ApiController) NetworkReadProtocol(c *gin.Context)
func (*ApiController) UserCreate ¶
func (ac *ApiController) UserCreate(c *gin.Context)
func (*ApiController) UserDelete ¶
func (ac *ApiController) UserDelete(c *gin.Context)
func (*ApiController) UserRead ¶
func (ac *ApiController) UserRead(c *gin.Context)
func (*ApiController) UserUpdate ¶
func (ac *ApiController) UserUpdate(c *gin.Context)
func (*ApiController) Version ¶
func (ac *ApiController) Version(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.