//
pkg.gl
Category
github.com/go-ozzo/ozzo-routing/v2
file
package
2.4.0
Repository:
https://github.com/go-ozzo/ozzo-routing.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
2
Files
148 SLOC
#
Functions
Content
Content returns a handler that serves the content of the specified file as the response.
Server
Server returns a handler that serves the files as the response content.
#
Variables
RootPath
RootPath stores the current working path.
#
Structs
ServerOptions
ServerOptions defines the possible options for the Server handler.
#
Type aliases
PathMap
PathMap specifies the mapping between URL paths (keys) and file paths (keys).