storage

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package storage keeps a global reference to the active simpleblob storage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGlobal

func GetGlobal() simpleblob.Interface

GetGlobal retrieves the global storage set by SetGlobal. It blocks until one is available.

func IsReady

func IsReady() bool

IsReady reports if the storage is ready without blocking.

func SetGlobal

func SetGlobal(st simpleblob.Interface)

SetGlobal sets the global storage backend.

Types

This section is empty.

Jump to

Keyboard shortcuts

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