memory

package
v0.0.0-...-4b28c8f Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	FilePath string
}

type Memory

type Memory interface {
	Put(key string, value string) error
	Get(key string) (*string, error)
	Has(key string) bool
	Del(key string) error
	io.Closer
}

func NewMemory

func NewMemory(filePath string, bucket string) (Memory, error)

Jump to

Keyboard shortcuts

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