Documentation
¶
Index ¶
Constants ¶
View Source
const ( HTTPmode uint8 = iota MTLSmode ACMEmode )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Core ¶
type Core struct {
Caches []cacheType
Config *cfg.Config
Templates *template.Template
Resources map[string][]byte
Shutdown chan bool
// contains filtered or unexported fields
}
Core holds all relevant data.
func (*Core) ListenAndServe ¶
ListenAndServe starts a HTTP webserver with the configuration from Core.
func (*Core) ListenAndServeMTLS ¶
ListenAndServeMTLS starts a HTTPS (mTLS) webserver with the configuration from Core.
func (*Core) ListenAndServeTLS ¶
ListenAndServeTLS
Click to show internal directories.
Click to hide internal directories.