export

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Global  globalConfig `json:"global,omitempty" yaml:"global,omitempty"`
	Devices []struct {
		Password string `json:"password" yaml:"password"`
		URL      string `json:"url" yaml:"url"`
		// contains filtered or unexported fields
	} `json:"devices" yaml:"devices"`
}

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func New

func New(config *Config, opts ...lb112x.Option) (*Handler, error)

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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