Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GNotifier ¶
GNotifier interface
func NullNotification ¶
NullNotification is the builder for tests where no side effects are desired
type TestRecorder ¶
type TestRecorder struct {
Pushed []*Config
}
TestRecorder provides a way to verify the GNotifier api use (not intended for production code)
func NewTestRecorder ¶
func NewTestRecorder() *TestRecorder
NewTestRecorder constructs a new TestRecorder. Use its Notification method as test Builder.
func (*TestRecorder) Notification ¶
func (r *TestRecorder) Notification(title, message string) GNotifier
Click to show internal directories.
Click to hide internal directories.