Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServer ¶
type HTTPServer struct {
// contains filtered or unexported fields
}
HTTPServer
func New ¶
func New(staticFS *embed.FS, env *Env) *HTTPServer
New make new HTTP Server instance, add routes, middlewares
func (*HTTPServer) RunTLS ¶
func (hs *HTTPServer) RunTLS(address string, cert, key string)
RunTLS server
Click to show internal directories.
Click to hide internal directories.