Documentation ¶ Index ¶ func Map(url string) (string, error) func MapHandler(w http.ResponseWriter, r *http.Request) error func MapSingleFile(name string, opts ...MapOption) routing.Handler type MapOption func WithCache(cache time.Duration) MapOption Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Map ¶ func Map(url string) (string, error) func MapHandler ¶ func MapHandler(w http.ResponseWriter, r *http.Request) error func MapSingleFile ¶ func MapSingleFile(name string, opts ...MapOption) routing.Handler Types ¶ type MapOption ¶ type MapOption func(cnf *mapConfig) func WithCache ¶ func WithCache(cache time.Duration) MapOption Source Files ¶ View all Source files rev.go Click to show internal directories. Click to hide internal directories.