httpd

package
v0.0.0-...-9c9e09e Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTPServer

func NewHTTPServer(config system.Config, repo *repos.UserRepository, clientAssets fs.FS, jwtSecret string) *http.Server

NewHTTPServer Create and configure the HTTP server.

func NewRedirectServer

func NewRedirectServer(listenAddress string, serverDomain string, certManager *autocert.Manager) *http.Server

NewRedirectServer Create and configure the HTTP server that redirect to https server.

Types

type Texts

type Texts struct {
	PasswordHint          string
	PasswordInfoCardTitle string
	PasswordInfoCardItems []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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