package
0.110.0
Repository: https://github.com/openmfp/golang-commons.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NotifyShutdownContext returns a copy of the parent context that is marked done (its Done channel is closed) when one of the expected signals arrives, when the returned stop function is called, or when the parent context's Done channel is closed, whichever happens first.
Recover can be used as deferred function to catch panics This function is used in the context of context creation.
Creates a new context and returns context, cancel and shutdown function.
Returns the wrapped timeout inside the context and will return a default timeout of 3 seconds when the context does not exist or doesn't wrap a timeout.

# Constants

Can be used in StartContext to have a sane default timeout.

# Variables

No description provided by the author

# Structs

No description provided by the author

# Type aliases

No description provided by the author