Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v1.34.6 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: MIT Imports: 5 Imported by: 10

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