contract

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Initializer

type Initializer interface {
	// Init initializes the component (e.g., creating buckets, directories, establishing connections).
	Init(ctx context.Context) error
}

Initializer defines the interface for components that require initialization. This method should ONLY be called during application startup and MUST NOT be called at runtime.

Jump to

Keyboard shortcuts

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