webinterface

package
v0.0.0-...-2aa9fcf Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CORS

func CORS() gin.HandlerFunc

func Interface_Server

func Interface_Server(server_root string, port int, status_channel chan (error))

Types

type PostResponse

type PostResponse struct {
	Status string
	Error  string
}

type TradfriFields

type TradfriFields struct {
	Gateway string `json:"gateway"`
	Key     string `json:"key"`
}

type TradfriPSk

type TradfriPSk struct {
	Identity string `json:"identity"`
	Passkey  string `json:"passkey"`
}

Jump to

Keyboard shortcuts

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