cvzhook

package
v0.0.0-...-b6dd5f9 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package cvzhook provides a way to hook into the application lifecycle.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UseAfter

func UseAfter(fn func(ctx context.Context) error)

UseAfter adds a hook to be executed after the application has stopped.

func UseBefore

func UseBefore(fn func(ctx context.Context) error)

UseBefore uses the given function before the application starts.

Types

This section is empty.

Jump to

Keyboard shortcuts

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