Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMonitor ¶
FakeMonitor is a fake monitor.
func NewFakeMonitor ¶
func NewFakeMonitor(kind model.ServerKind, addr model.Addr, opts ...server.Option) *FakeMonitor
NewFakeMonitor creates a fake monitor.
func (*FakeMonitor) SetKind ¶
func (m *FakeMonitor) SetKind(kind model.ServerKind) error
SetKind sets the server kind for the monitor.
Click to show internal directories.
Click to hide internal directories.