http

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2021 License: BSD-3-Clause Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTPRouter

func NewHTTPRouter(conf *config.Config, logger *zap.Logger) http.Handler

NewHTTPRouter returns an http.Handler based on given configuration. The given router should replace the one which had the previous configuration.

Types

This section is empty.

Directories

Path Synopsis
handlers
middlewares

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL