natsobj

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound = errinternal.ErrNotFound
)

Functions

This section is empty.

Types

type Storage

type Storage struct {
	// contains filtered or unexported fields
}

func New

func New(store nats.ObjectStore) *Storage

func (*Storage) Delete

func (n *Storage) Delete(key string) error

func (*Storage) Load

func (n *Storage) Load(key string) ([]byte, error)

func (*Storage) Save

func (n *Storage) Save(key string, data []byte) error

Jump to

Keyboard shortcuts

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