MCPcopy Create free account
hub / github.com/fvbock/endless / endlessServer

Struct endlessServer

endless.go:72–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72type endlessServer struct {
73 http.Server
74 EndlessListener net.Listener
75 SignalHooks map[int]map[os.Signal][]func()
76 tlsInnerListener *endlessListener
77 wg sync.WaitGroup
78 sigChan chan os.Signal
79 isChild bool
80 state uint8
81 lock *sync.RWMutex
82 BeforeBegin func(add string)
83}
84
85/*
86NewServer returns an intialized endlessServer Object. Calling Serve on it will

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected