package
0.0.0-20190723121003-cc800dbaf411
Repository: https://github.com/gophercises/urlshort.git
Documentation: pkg.go.dev

# Functions

BOLTHandler will use the provided BoltDB and then return an http.HandlerFunc (which also implements http.Handler) that will attempt to map any paths to their corresponding URL.
JSONHandler will parse the provided JSON and then return an http.HandlerFunc (which also implements http.Handler) that will attempt to map any paths to their corresponding URL.
MapHandler will return an http.HandlerFunc (which also implements http.Handler) that will attempt to map any paths (keys in the map) to their corresponding URL (values that each key in the map points to, in string format).
YAMLHandler will parse the provided YAML and then return an http.HandlerFunc (which also implements http.Handler) that will attempt to map any paths to their corresponding URL.