repositories

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthSettingsRepository

type AuthSettingsRepository interface {
	// GetByKey retrieves an auth setting by its key
	GetByKey(ctx context.Context, key string) (*types.AuthSettings, error)

	// Save saves or updates an auth setting
	Save(ctx context.Context, setting *types.AuthSettings) error

	// Upsert performs an "upsert" operation - insert or update on conflict
	Upsert(ctx context.Context, setting *types.AuthSettings) error

	// Delete removes an auth setting by key
	Delete(ctx context.Context, key string) error
}

AuthSettingsRepository defines the interface for auth settings persistence

func NewBunConfigManagerRepository

func NewBunConfigManagerRepository(db bun.IDB) AuthSettingsRepository

Jump to

Keyboard shortcuts

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