Documentation ¶
Overview ¶
Package nexer implements functions to get certificate using letsencript and proxy handlers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLetsEncryptCert ¶
func GetLetsEncryptCert(certManager *autocert.Manager) func(hello *tls.ClientHelloInfo) (*tls.Certificate, error)
GetLetsEncryptCert return a function return a certificate and err
func Getdomains ¶
func Getdomains() []string
Getdomains return list of subdomains, from the enviroment var DOMAIN
func Getservicesmap ¶
Getservicesmap return map of subdomains to services, from enviroment vars DOMAIN and SERVICE
func NewRedirect ¶
func NewRedirect(m map[string]string) func(w http.ResponseWriter, r *http.Request) *httputil.ReverseProxy
NewRedirect return a new proxy handler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.