server

package
v0.0.0-...-ce1b17b Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TemplateDir = (func() string {
	dir := os.Getenv("TEMPLATE_DIR")
	if len(dir) != 0 {
		return dir
	} else {
		return "template"
	}
})()

Functions

func Home

func Home(w http.ResponseWriter, r *http.Request)

func Push

func Push(w http.ResponseWriter, r *http.Request)

func PushStatus

func PushStatus(w http.ResponseWriter, r *http.Request)

Types

type Process

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

Jump to

Keyboard shortcuts

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