httpd

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const GZIP_MINIMUM = 16384

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPD

type HTTPD struct {
	HTML                     string
	HttpEnabled              bool
	HttpsEnabled             bool
	HttpPort                 uint16
	HttpsPort                uint16
	AuthProvider             auth.IAuth
	CACertificate            string
	TLSCertificate           string
	TLSKey                   string
	RequireClientCertificate bool
	RequestTimeout           time.Duration
}

func (*HTTPD) Run

func (h *HTTPD) Run(mode types.RunMode, withPIN bool, interrupt chan os.Signal)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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