routes

package
v1.7.7 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddConfigGroupForm

func AddConfigGroupForm(repo fr.FiwareRepo) chi.Router

func AddDeviceForm

func AddDeviceForm(repo fr.FiwareRepo) chi.Router

func AuthMiddleware

func AuthMiddleware(st sessionStore.SessionStore) func(next http.Handler) http.Handler

func ConfigGroups

func ConfigGroups(repo fr.FiwareRepo) chi.Router

func Devices

func Devices(repo fr.FiwareRepo) chi.Router

func FiwareService

func FiwareService(repo fr.FiwareRepo) chi.Router

func Index

func Index(repo fr.FiwareRepo) chi.Router

func IoTAgents

func IoTAgents(repo fr.FiwareRepo) chi.Router

func Login

func Login() chi.Router

func ServicePaths

func ServicePaths(repo fr.FiwareRepo) chi.Router

func StaticAssets

func StaticAssets() chi.Router

Types

type ConfigGroupDeleteRequest

type ConfigGroupDeleteRequest struct {
	IoTAgentId  string     `form:"iotAgentId"`
	ApiKey      i.Apikey   `form:"apiKey"`
	Rescource   i.Resource `form:"resource"`
	Service     string     `form:"service"`
	ServicePath string     `form:"servicePath"`
}

type Credentials

type Credentials struct {
	Username string `schema:"username,required"`
	Password string `schema:"password,required"`
}

type DevicDeleteRequest

type DevicDeleteRequest struct {
	DeviceId    i.DeciveId `form:"deviceId"`
	Service     string     `form:"service"`
	ServicePath string     `form:"servicePath"`
	IoTAgentId  string     `form:"iotAgentId"`
}

type FiwareServicePost

type FiwareServicePost struct {
	Name string `schema:"name,required"`
}

Jump to

Keyboard shortcuts

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