Documentation
¶
Overview ¶
Package handlercomp implements several popular web frameworks based on net/http to compare their performance.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChiServer ¶
NewChiServer creates a new http.Server instance using Chi as the handler.
addr: address the server should run on (Ex: ":8080").
func NewGinServer ¶
NewGinServer creates a new http.Server instance using Chi as the handler.
addr: address the server should run on (Ex: ":8080").
func NewHTTPServer ¶
NewHTTPServer creates a new http.Server instance using DefaultServerMux as the handler.
addr: address the server should run on (Ex: ":8080").
func StartEchoServer ¶
func StartEchoServer(e *echo.Echo, addr string)
StartEchoServer starts the Echo server.
e: Echo instance to start. addr: address the server should run on (Ex: ":8080").
func StartHTTPServer ¶
StartHTTPServer starts a http.Server instance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.