server

package
v0.0.0-...-8586d07 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 17 Imported by: 23

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrConcurrentDestroy = errors.New("container already being destroyed")

Functions

func NewChanWriter

func NewChanWriter(ch chan<- []byte) *chanWriter

Types

type GardenServer

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

func New

func New(
	listenNetwork, listenAddr string,
	containerGraceTime time.Duration,
	readHeaderTimeout time.Duration,
	backend garden.Backend,
	logger lager.Logger,
) *GardenServer

func (*GardenServer) Listen

func (s *GardenServer) Listen() (net.Listener, error)

func (*GardenServer) ListenAndServe

func (s *GardenServer) ListenAndServe() error

func (*GardenServer) Serve

func (s *GardenServer) Serve(listener net.Listener) error

func (*GardenServer) SetupBomberman

func (s *GardenServer) SetupBomberman() error

func (*GardenServer) Start

func (s *GardenServer) Start() error

Start deprecated: please use Serve() or ListenAndServe()

func (*GardenServer) Stop

func (s *GardenServer) Stop() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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