httpd

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: AGPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HTTPListen                      string
	HTTPPort                        int
	HTTPUsername                    string
	HTTPPassword                    string
	HTTPMode                        string
	HTTPPProf                       bool
	HTTPReadHeaderTimeout           time.Duration
	HTTPIdleTimeout                 time.Duration
	HTTPConnTimeout                 time.Duration
	HTTPTLSEnable                   bool
	HTTPTLSCertFile                 string
	HTTPTLSKeyFile                  string
	HTTPTLSCipherSuitesString       string
	HTTPTLSCipherSuitesArray        []string
	HTTPTLSMinVersion               string
	HTTPMaxGracefulShutdownDuration time.Duration
)

Functions

This section is empty.

Types

type HTTPRouter

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

func Router

func Router() *HTTPRouter

func (*HTTPRouter) Config

func (r *HTTPRouter) Config() *HTTPRouter

func (*HTTPRouter) Start

func (r *HTTPRouter) Start() func() error

Init initializes http server and return close function

Jump to

Keyboard shortcuts

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