util

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2021 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FastHttpLetsEncrypt

func FastHttpLetsEncrypt(addr string, domain string, handler fasthttp.RequestHandler) error

func FastHttpLetsEncryptServe

func FastHttpLetsEncryptServe(listener net.Listener, domain string, handler fasthttp.RequestHandler) error

func FastHttpListenAndServeTLS

func FastHttpListenAndServeTLS(addr string, cert string, key string, handler fasthttp.RequestHandler) error

func FastHttpServeTLS

func FastHttpServeTLS(listener net.Listener, handler fasthttp.RequestHandler, cert string, key string) error

func HttpLetsEncrypt

func HttpLetsEncrypt(addr string, domain string, handler http.Handler) error

func HttpLetsEncryptServe

func HttpLetsEncryptServe(listener net.Listener, domain string, handler http.Handler) error

func HttpListenAndServeTLS

func HttpListenAndServeTLS(addr string, cert string, key string, handler http.Handler) error

func HttpServeTLS

func HttpServeTLS(listener net.Listener, handler http.Handler, cert string, key string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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