server

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Servers

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

Servers collates TLS and non TLS servers with routing and sites configuration

func NewServer

func NewServer() *Servers

NewServer creates a new server ready to start listening for REST requests

func (*Servers) Start

func (s *Servers) Start(signalChan chan<- os.Signal)

Start the server listening

func (*Servers) Stop

func (s *Servers) Stop()

Stop the server listening; graceful shutdown

Jump to

Keyboard shortcuts

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