Documentation ¶
Index ¶
- Variables
- func GenerateTestCertificate(host string, orgname string) ([]byte, []byte, error)
- func Listen(network, addr string) (ln net.Listener, err error)
- func NewListen(handerfunc http.HandlerFunc) *listen
- func Serve(network string, addr string, handler http.Handler, tlsconf ...*tls.Config)
- func Shutdown(keys ...interface{})
- func ShutdownAll()
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultHandler http.Handler = nil
Functions ¶
func GenerateTestCertificate ¶
GenerateTestCertificate generates a test certificate and private key based on the given host.
func NewListen ¶
func NewListen(handerfunc http.HandlerFunc) *listen
func ShutdownAll ¶
func ShutdownAll()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.