server

package
v1.0.2-0...-2da3d3e Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerParams

type ServerParams struct {
	TLSCertFile string
	TLSKeyFile  string
}

type StartStopper

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

func NewStartStopper

func NewStartStopper(params ServerParams, handler http.Handler) *StartStopper

func (StartStopper) Start

func (s StartStopper) Start(l net.Listener) (err error)

func (StartStopper) Stop

func (s StartStopper) Stop() error

Jump to

Keyboard shortcuts

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