driver

package
v1.15.6 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2025 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

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

func NewFile

func NewFile(path string, minutes int) *File

func (*File) Close

func (f *File) Close() error

func (*File) Destroy

func (f *File) Destroy(id string) error

func (*File) Gc

func (f *File) Gc(maxLifetime int) error

func (*File) Open

func (f *File) Open(string, string) error

func (*File) Read

func (f *File) Read(id string) (string, error)

func (*File) Write

func (f *File) Write(id string, data string) error

Jump to

Keyboard shortcuts

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