httpd

package
v0.0.0-...-e99a25f Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPD

type HTTPD struct {
	Config *certainly.CertainlyCFG
	Logger *zap.SugaredLogger

	Notification *notification.Notifications
	// contains filtered or unexported fields
}

func InitAndStart

func InitAndStart(config *certainly.CertainlyCFG, tlsconfig *tls.Config, logger *zap.SugaredLogger, notification *notification.Notifications, errChan chan error) *HTTPD

func (*HTTPD) MakeProxyRequest

func (h *HTTPD) MakeProxyRequest(req *http.Request, proto string) (*http.Response, error)

func (*HTTPD) ShouldInjectTemplate

func (h *HTTPD) ShouldInjectTemplate(req *http.Request) (bool, string)

Jump to

Keyboard shortcuts

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