Documentation ¶
Index ¶
- type MockPinger
- type MockStorage
- func (m *MockStorage) Close() error
- func (m *MockStorage) DelFromList(listname string, item string) error
- func (m *MockStorage) DelFromMap(_ string, field string) error
- func (m *MockStorage) GetList(key string) ([]string, error)
- func (m *MockStorage) GetMapField(_, field string) ([]string, error)
- func (m *MockStorage) SetMap(_ string, value map[string]interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPinger ¶
type MockPinger struct{}
func NewMockPinger ¶
func NewMockPinger() *MockPinger
func (*MockPinger) Init ¶
func (p *MockPinger) Init(_ ...string) error
type MockStorage ¶
func (*MockStorage) Close ¶
func (m *MockStorage) Close() error
func (*MockStorage) DelFromList ¶
func (m *MockStorage) DelFromList(listname string, item string) error
func (*MockStorage) DelFromMap ¶
func (m *MockStorage) DelFromMap(_ string, field string) error
func (*MockStorage) GetMapField ¶
func (m *MockStorage) GetMapField(_, field string) ([]string, error)
Click to show internal directories.
Click to hide internal directories.