package server

import "github.com/uber/tchannel-go/crossdock/server"

Index

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.

Source Files

server.go

Version
v1.34.6 (latest)
Published
Jan 8, 2025
Platform
windows/amd64
Imports
5 packages
Last checked
3 hours ago

Tools for package owners.