package
0.0.0-20241007081357-bede6665bebc
Repository: https://github.com/gopad/gopad-api.git
Documentation: pkg.go.dev

# Functions

New simply initializes the metrics handling including the go metrics.
WithNamespace provides a function to set the namespace option.
WithToken provides a function to set the token option.

# Variables

ErrInvalidToken is returned when the request token is invalid.

# Structs

Logger implements the required logging interface for the http handler.
Metrics simply defines the basic metrics including the registry.
Options defines the available options for this package.

# Type aliases

Option defines a single option function.