Documentation
¶
Index ¶
Constants ¶
View Source
const ContainerName = "memorizer-falkordb"
ContainerName is the name used for the FalkorDB container
Variables ¶
This section is empty.
Functions ¶
func ContainerExists ¶
func ContainerExists() bool
ContainerExists checks if the FalkorDB container exists (running or stopped)
func IsFalkorDBRunning ¶
IsFalkorDBRunning checks if the FalkorDB container is running
func StartFalkorDB ¶
func StartFalkorDB(opts StartOptions) error
StartFalkorDB starts the FalkorDB Docker container. If a stopped container exists, it will be started. Otherwise, a new container will be created with the specified options.
Types ¶
type StartOptions ¶
type StartOptions struct {
Port int // Redis port (default: 6379)
DataDir string // Host directory for persistent data (optional)
Detach bool // Run in background (default: true)
}
StartOptions configures FalkorDB container startup
Click to show internal directories.
Click to hide internal directories.