server

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Serve

type Serve struct {
	// contains filtered or unexported fields
}

Serve is a Server implementation to manage the handling of HTTP based requests.

func (*Serve) Start

func (s *Serve) Start() error

Start will begin the HTTP request handling process.

type Server

type Server interface {
	Start() error
}

Server defines an expected behaviour set for the interaction of handling HTTP requests.

func New

func New(c types.Configer) Server

New will generate a new Server instance that will setup a HTTP server ready to begin handling requests.

Jump to

Keyboard shortcuts

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