fake_gibson

package
v0.0.0-...-3b3f045 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2015 License: Apache-2.0, BSD-3-Clause, MIT, + 1 more Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeRouterClient

type FakeRouterClient struct {
	DidGreet         bool
	RegisteredRoutes []URIPortRoutePair
}

func NewFakeRouterClient

func NewFakeRouterClient() *FakeRouterClient

func (*FakeRouterClient) Greet

func (r *FakeRouterClient) Greet() error

func (*FakeRouterClient) IsRegistered

func (r *FakeRouterClient) IsRegistered(port int, uri string) bool

func (*FakeRouterClient) Register

func (r *FakeRouterClient) Register(port int, uri string) error

func (*FakeRouterClient) Reset

func (r *FakeRouterClient) Reset()

func (*FakeRouterClient) Unregister

func (r *FakeRouterClient) Unregister(port int, uri string) error

type URIPortRoutePair

type URIPortRoutePair struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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