minifile

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: LGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MiniFile

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

func New

func New(path string) (*MiniFile, error)

func (*MiniFile) Close

func (mf *MiniFile) Close() error

func (*MiniFile) Delete

func (mf *MiniFile) Delete(key string) error

func (*MiniFile) DeleteAll

func (mf *MiniFile) DeleteAll() error

func (*MiniFile) Get

func (mf *MiniFile) Get(key string) ([]byte, error)

func (*MiniFile) GetAll

func (mf *MiniFile) GetAll() (map[string][]byte, error)

func (*MiniFile) Has

func (mf *MiniFile) Has(key string) (bool, error)

func (*MiniFile) Put

func (mf *MiniFile) Put(key string, value []byte) error

Jump to

Keyboard shortcuts

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