persisttest

package
Version: v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeStore

type FakeStore struct {
	Hosts                                           []*host.Host
	ExistsErr, ListErr, LoadErr, RemoveErr, SaveErr error
}

func (*FakeStore) Exists

func (fs *FakeStore) Exists(name string) (bool, error)

func (*FakeStore) List

func (fs *FakeStore) List() ([]string, error)

func (*FakeStore) Load

func (fs *FakeStore) Load(name string) (*host.Host, error)

func (*FakeStore) Remove

func (fs *FakeStore) Remove(name string) error

func (*FakeStore) Save

func (fs *FakeStore) Save(host *host.Host) error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL