Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableTracing ¶
func EnableTracing(ctx context.Context, appName string, s OnShutdowner) error
EnableTracing enables tracing.
Types ¶
type OnShutdowner ¶
type OnShutdowner interface {
OnShutdown(onShutdown func())
}
OnShutdowner is an interface that allows a caller to register a function to be called when the application is shutting down.
Click to show internal directories.
Click to hide internal directories.