storage

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage interface {
	NewObject(key any) (StorageOBJ, error)
}

type StorageKey

type StorageKey string

используется для хранения ключей в storage

type StorageOBJ

type StorageOBJ interface {
	Reader() (io.ReadSeekCloser, error)
	Writer() (io.WriteCloser, error)
	Key() StorageKey
	IsExists() (bool, error)
	ModTime() time.Time
}

Jump to

Keyboard shortcuts

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