fakes

package
Version: v0.0.0-...-9a89ba0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2014 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeServer

type FakeServer struct {
	StartInput StartInput

	ReceivedActions []string
	// contains filtered or unexported fields
}

func NewFakeServer

func NewFakeServer() *FakeServer

func (*FakeServer) SetStartBehavior

func (s *FakeServer) SetStartBehavior(readyChErr, startErr error)

func (*FakeServer) Start

func (s *FakeServer) Start(username string, password string, host string, port int, readyErrCh chan error) error

func (*FakeServer) Stop

func (s *FakeServer) Stop() error

type StartInput

type StartInput struct {
	Username string
	Password string
	Host     string
	Port     int
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL