server

package
v0.0.0-...-3c02646 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2021 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server is the entrypoint to the Response Server component. This instance controls the embedded and external service connections and links them to our internal and external APIs.

func New

func New(ctx context.Context, cfg *config.Config) (*Server, error)

New creates a new Server to launch the Response Server component.

func (*Server) Shutdown

func (s *Server) Shutdown(ctx context.Context) error

Shutdown gracefully stops the Response Server component.

func (*Server) Start

func (s *Server) Start(ctx context.Context, errChan chan error)

Start the Response Server component.

Jump to

Keyboard shortcuts

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