backend

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

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

Go to latest
Published: Nov 7, 2022 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

type State interface {
	Write(state []byte) error
	Read() ([]byte, error)
	Path() string
}

State interface manages writing and reading state

func File

func File(path string) (State, error)

File will return a new File type as a State interface

func Null

func Null() State

Null will return a new Null type as a state interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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