server

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2017 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type T

type T interface {

	// Start triggers the server start. If the start is successful then it
	// keeps running in a dedicated goroutine until explicitly stopped.
	Start()

	// Stop stops the server gracefully, that is makes server cease to accept
	// new requests and blocks until all pending requests are over.
	Stop()

	// ErrorCh return an input channel that user should check for errors they
	// may have occurred on server startup.
	ErrorCh() <-chan error
}

T represents a server usually based on http.Server.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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