Documentation
¶
Index ¶
- func HTTP(settings *models.Settings, n *negroni.Negroni) *http.Server
- func HTTPS(settings *models.Settings, mux http.Handler, db *storm.DB) (*http.Server, *http.Server)
- func NewServers(sa *ServerAngel) (*http.Server, *http.Server)
- func Run(overState overseer.State)
- func RunServer(r chan bool, l chan models.LE) (*http.Server, *http.Server)
- type ServerAngel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServers ¶
func NewServers(sa *ServerAngel) (*http.Server, *http.Server)
Types ¶
type ServerAngel ¶
type ServerAngel struct { AngelCtx context.Context AngelCancel context.CancelFunc HttpServerCtx context.Context HttpServerCancel context.CancelFunc HttpsServerCtx context.Context HttpsServerCancel context.CancelFunc HttpServer *http.Server HttpsServer *http.Server Reboot chan bool LE chan models.LE }
func NewServerAngel ¶
func NewServerAngel() *ServerAngel