storageutil

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNatsObjectStore

func CreateNatsObjectStore(url string, bucket string) (nats.ObjectStore, *nats.Conn, error)

CreateNatsObjectStore is a convenience function that connects to NATS and using provided url and creates new object store using bucket as bucket name. The object store uses NATS file storage and compression. If fine-tuning is required - just create the store in your code and pass it to the storage package.

func NewVaultApiClient

func NewVaultApiClient(token string, addr string) (*api.Client, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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