exit

package
v1.51.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExitService

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

ExitService - Service for handling application exit events

func GetExitService

func GetExitService() *ExitService

func (*ExitService) Exit

func (s *ExitService) Exit(err error)

func (*ExitService) SubscribeToExit

func (s *ExitService) SubscribeToExit(subscription func(err error))

Jump to

Keyboard shortcuts

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