graceful

package
v1.3.90 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Graceful

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

func New

func New(parent context.Context) *Graceful

func (*Graceful) Context

func (gc *Graceful) Context() context.Context

func (*Graceful) WaitToQuit

func (gc *Graceful) WaitToQuit(gss ...GracefulService)

type GracefulService

type GracefulService interface {
	Stop() error
	Name() string
}

Jump to

Keyboard shortcuts

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