http

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrNoConfiguration = "No configuration given"
	ErrNoHandler       = "http handler is nil"
	Protocol           = "tcp"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerHTTP

type ServerHTTP struct {
	server.ServerBase
}

func New

func New(
	conf configuration.ServerRepository,
	handler http.Handler,
) (*ServerHTTP, error)

New instance of ServerHTTP

Jump to

Keyboard shortcuts

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