graceful-restart

command
v0.0.0-...-0c5332c Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2021 License: MIT Imports: 5 Imported by: 0

README

graceful-restart

step

go run main.go

cd client

go run client.go accept

after 10s go run client.go refused

after another 10s go run client.go accept

result

three client connections:

first connection is accepted.

second connection is refused because server has been graceful stopped.

third connection is accepted because server start again.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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