Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPprof ¶
func RegisterPprof(e *echo.Echo, prefixOptions ...string)
RegisterPprof register a middleware for net/http/pprof.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server runs an http server.
func NewServer ¶
func NewServer(serverConfig *config.ServerConfig, fh *handler.FibonacciHandler) *Server
NewServer server instantiation for endpoint exposure and middleware configuration.
Click to show internal directories.
Click to hide internal directories.