servertest

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeMonitor

type FakeMonitor struct {
	*server.Monitor
	// contains filtered or unexported fields
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL