server

package
v2.19.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const BaggageKey = "crossdock-baggage-key"

BaggageKey is the key used to pass baggage item

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	HostPortHTTP      string
	AgentHostPort     string
	SamplingServerURL string
	Tracer            opentracing.Tracer
	// contains filtered or unexported fields
}

Server implements S1-S3 servers

func (*Server) Close

func (s *Server) Close() error

Close stops the server

func (*Server) GetPortHTTP

func (s *Server) GetPortHTTP() string

GetPortHTTP returns the network 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.

func (*Server) URL

func (s *Server) URL() string

URL returns URL of the HTTP server

Jump to

Keyboard shortcuts

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