db

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SatelliteConfig

type SatelliteConfig struct {
	Satellite string
	Metabase  string
}

type WithDatabase

type WithDatabase struct {
	Satellite  string
	Satellites map[string]SatelliteConfig
}

func (WithDatabase) GetMetabaseDB

func (w WithDatabase) GetMetabaseDB(ctx context.Context, log *zap.Logger) (*metabase.DB, error)

func (WithDatabase) GetSatelliteDB

func (w WithDatabase) GetSatelliteDB(ctx context.Context, log *zap.Logger) (satellite.DB, error)

Jump to

Keyboard shortcuts

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