package
Version:
v0.7.0
Opens a new window with list of versions in this module.
Published: Apr 13, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type FakeStore struct {
Hosts []*host.Host
ExistsErr, ListErr, LoadErr, RemoveErr, SaveErr error
}
func (fs *FakeStore) Exists(name string) (bool, error)
func (fs *FakeStore) List() ([]string, error)
func (fs *FakeStore) Load(name string) (*host.Host, error)
func (fs *FakeStore) Remove(name string) error
func (fs *FakeStore) Save(host *host.Host) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.