cmd

package
v0.0.0-...-9f5306c Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	FlagConfig = "config"
)

Variables

This section is empty.

Functions

func Before

func Before(ctx context.Context, command *cli.Command) (context.Context, error)

Before loads the configuration file and returns

func CloseSetupComponents

func CloseSetupComponents(iSource source.ISource, iStore store.IStore, iOutput output.IOutput)

CloseSetupComponents resources uniformly

func Flags

func Flags() []cli.Flag

func Listen

func Listen(ctx context.Context, config *config.Config) error

Listen starts the entire CDC listening process, including data source, storage, and output handling

func ListenCommand

func ListenCommand() *cli.Command

func SetupComponents

func SetupComponents(cfg *config.Config) (source.ISource, store.IStore, output.IOutput, error)

SetupComponents components: Store, Source, Output

Types

type ContextValue

type ContextValue string
var (
	ContextValueConfig ContextValue = "config"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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