shutdown

package
v1.13.13 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(ctx context.Context, server *http.Server, grpcServer *grpc.Server, closable ...Closable)

Handle handles various shutdown signals.

Types

type Closable

type Closable interface {
	Close() error
}

Closable represents interface for types that might be closed.

Jump to

Keyboard shortcuts

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