client

package
v2.10.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// RoleS1 is the name of the role for server S1
	RoleS1 = "S1"

	// RoleS2 is the name of the role for server S2
	RoleS2 = "S2"

	// RoleS3 is the name of the role for server S3
	RoleS3 = "S3"
)

Different parameter keys and values used by the system

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	ClientHostPort     string
	ServerPortHTTP     string
	ServerPortTChannel string
	// contains filtered or unexported fields
}

Client is a controller for the tests

func (*Client) AsyncStart

func (c *Client) AsyncStart() error

AsyncStart begins a Crossdock client in the background, but does not return until it started serving.

func (*Client) Close

func (c *Client) Close() error

Close stops the client

func (*Client) Listen

func (c *Client) Listen() error

Listen initializes the server

func (*Client) Serve

func (c *Client) Serve() error

Serve starts service crossdock traffic. This is a blocking call.

func (*Client) Start

func (c *Client) Start() error

Start begins a blocking Crossdock client

func (*Client) URL

func (c *Client) URL() string

URL returns a URL that the client can be accessed on

Jump to

Keyboard shortcuts

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