{"modulePath":"github.com/LABstack/echo","version":"v3.1.0+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\n## Functions\n\n```go\nfunc ServerHeader(next echo.HandlerFunc) echo.HandlerFunc\n```\nServerHeader middleware adds a \\`Server\\` header to the response.\n\n## Types\n\n```go\ntype Stats struct {\n\tUptime       time.Time      `json:\"uptime\"`\n\tRequestCount uint64         `json:\"requestCount\"`\n\tStatuses     map[string]int `json:\"statuses\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewStats() *Stats\n```\n\n```go\nfunc (s *Stats) Handle(c echo.Context) error\n```\nHandle is the endpoint to get stats.\n\n```go\nfunc (s *Stats) Process(next echo.HandlerFunc) echo.HandlerFunc\n```\nProcess is the middleware function.\n\n","path":"github.com/LABstack/echo/cookbook/middleware","name":"main","synopsis":"","isRedistributable":true}
