http

package
v0.20.10 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package http provides a http server with features; acme, cors, etc

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(address string, opts ...server.Option) server.Server

Types

type LogFormatterParams

type LogFormatterParams struct {
	Request    *http.Request
	URL        url.URL
	StatusCode int
	Size       int
}

LogFormatterParams is the structure any formatter will be handed when time to log comes

Jump to

Keyboard shortcuts

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