service

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL