Documentation ¶ Index ¶ func NotImplemented() http.Handler func ParseTTL(r *http.Request) int64 func Prefix(prefix, route string) string func Recovery(logger *zap.Logger) func(next http.Handler) http.Handler func Ret(baseURL, prefix, route string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NotImplemented ¶ func NotImplemented() http.Handler func ParseTTL ¶ added in v0.0.2 func ParseTTL(r *http.Request) int64 func Prefix ¶ func Prefix(prefix, route string) string func Recovery ¶ func Recovery(logger *zap.Logger) func(next http.Handler) http.Handler Recovery will catch panic and send to logger, then respond with 500 func Ret ¶ func Ret(baseURL, prefix, route string) string Types ¶ This section is empty. Source Files ¶ View all Source files not_implemented.go prefix.go recoverer.go ttl.go Directories ¶ Show internal Expand all Path Synopsis file index link text Click to show internal directories. Click to hide internal directories.