http

package
Version: v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 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.

Source Files

Directories

Path Synopsis
handlers
middlewares

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL