store

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package store defines the composite store interface for Bastion.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	bastion.RouteStore
	bastion.CircuitBreakerStore
	bastion.HealthStore
	bastion.CacheStore
	bastion.RateLimitStore
	bastion.AuditSink

	// Migrate runs schema migrations.
	Migrate(ctx context.Context) error

	// Ping verifies the store connection.
	Ping(ctx context.Context) error

	// Close releases store resources.
	Close() error
}

Store is the composite persistence interface for all Bastion subsystems.

Directories

Path Synopsis
Package memory provides an in-memory implementation of the Bastion composite store.
Package memory provides an in-memory implementation of the Bastion composite store.
Package mongo provides a MongoDB implementation of the Bastion composite store using grove ORM.
Package mongo provides a MongoDB implementation of the Bastion composite store using grove ORM.
Package postgres provides a PostgreSQL implementation of the Bastion composite store using grove ORM with programmatic migrations.
Package postgres provides a PostgreSQL implementation of the Bastion composite store using grove ORM with programmatic migrations.
Package sqlite provides a SQLite implementation of the Bastion composite store using grove ORM with programmatic migrations.
Package sqlite provides a SQLite implementation of the Bastion composite store using grove ORM with programmatic migrations.

Jump to

Keyboard shortcuts

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