exserver

package
v0.7.9 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 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 ExServer

type ExServer struct {
	Name            string // server name, like banjo or basalt
	Srv             exServe
	PIDFile         string
	IdleConnsClosed chan struct{} // flag to safe close server
	// contains filtered or unexported fields
}

func NewExServer

func NewExServer(name string, pidFile string, srv exServe) *ExServer

func (*ExServer) ListenAndServeEx

func (exSrv *ExServer) ListenAndServeEx() error

func (*ExServer) ListenAndServeTLSEx

func (exSrv *ExServer) ListenAndServeTLSEx(certFile, keyFile string) error

Jump to

Keyboard shortcuts

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