Documentation ¶
Index ¶
- func ActivationFiles() []*os.File
- func Find(sockets []TcpOrUdp, start int, udp bool) int
- func Init()
- func ListenSystemd(files []*os.File) (udps []net.PacketConn, https, grpcs []net.Listener)
- func ListenSystemdEx(files []*os.File) (udps []net.PacketConn, tcps []net.Listener, err error)
- func MustListenTCPSlice(what []string) (tcps []net.Listener)
- func MustListenUDPSlice(what []string) (udps []net.PacketConn)
- func ServeAll(gs Server, https, grpcs []net.Listener)
- func ServeH2C(gs GServer, https, grpcs []net.Listener)
- func ServeH2C2(gs GServer, handler http.Handler, https, grpcs []net.Listener)
- func SplitListen(s string) []string
- func WaitSigint()
- type Fatalf
- type GServer
- type Server
- type TcpOrUdp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivationFiles ¶
func ListenSystemd ¶
func ListenSystemdEx ¶
func MustListenTCPSlice ¶
func MustListenUDPSlice ¶
func MustListenUDPSlice(what []string) (udps []net.PacketConn)
func SplitListen ¶
func WaitSigint ¶
func WaitSigint()
Types ¶
type Fatalf ¶
type TcpOrUdp ¶
func WrapSystemdSockets ¶
WrapSystemdSockets will take a list of files from Files function and create UDP sockets or TCP listeners for them.
Click to show internal directories.
Click to hide internal directories.