storage

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("not found")

Functions

func IsNotFound

func IsNotFound(err error) bool

Types

type Storage

type Storage interface {
	io.Closer
	List() ([]models.InterfaceConfig, error)
	Set(cfg *models.InterfaceConfig) error
	Get(iface string) (*models.InterfaceConfig, error)
	Delete(iface string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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