server

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	HostPort string
	Tracer   opentracing.Tracer
	Ch       *tchannel.Channel
}

Server implements S2-S3 servers

func (*Server) Close

func (s *Server) Close()

Close stops the server

func (*Server) Port

func (s *Server) Port() string

Port returns the actual port the server listens to

func (*Server) Start

func (s *Server) Start() error

Start starts the test server called by the Client and other upstream servers.

Jump to

Keyboard shortcuts

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