httpserver

package
v0.0.0-...-f683377 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(bind, url string, db *db.DB, sendmail *sendmail.Sendmail, i18n *i18n.Bundle,
	noSignUp, noVerification, debug bool) error

Starts a new server instance.

Types

type Calculation

type Calculation struct {
	VolumeTot float64
	BoilSize  float64
	Cursors   map[string]Cursor
}

type Cursor

type Cursor struct {
	Val      float64
	Min, Max float64
	Cursor   float64
	ValOK    bool
	RGB      template.CSS
}

type Server

type Server struct {
	URL string
	// contains filtered or unexported fields
}

Represents a server instance (there is usually a single one).

Jump to

Keyboard shortcuts

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