controllers

package
v0.0.0-...-11b9e55 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

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

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) Login

func (ac *ApiController) Login(c *gin.Context) (interface{}, error)

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)

type Camera

type Camera struct {
	Username string `json:"username"`
	Password string `json:"password"`
	Host     string `json:"host"`
	Port     int    `json:"port,omitempty"`
}

Jump to

Keyboard shortcuts

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