package
3.11.4+incompatible
Repository: https://github.com/whitewater-guide/gorge.git
Documentation: pkg.go.dev

# Functions

SetupFileServer serves files from './test_data' directory in package paths map can be used to servre files based on URL path prefixes and query params (for example, check usgs) if paths is nil, url path will be used to find files in dir.

# Constants

TestAuthKey is used by HeaderAuthorizer.

# Structs

HeaderAuthorizer checks that value of "Key" header equal TestAuthKey.

# Interfaces

Authorizer is used in test server to simulate auth process.