Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
Host string
Domain string
Port int
TLSPort int
TLSCertPath string
TLSKeyPath string
StatusPath string
Storage app.Storage
}
Server represents the API server.
func (*Server) ListenAndServe ¶
ListenAndServe sets the necessary conditions for the underlying http.Server to serve the API via HTTPS.
Any errors are returned via the received channel.
Click to show internal directories.
Click to hide internal directories.