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

frontend

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigOptions added in v1.7.0

type ConfigOptions struct {
	FrontendHostPort string
	DriverHostPort   string
	CustomerHostPort string
	RouteHostPort    string
}

ConfigOptions used to make sure service clients can find correct server ports

type Response

type Response struct {
	Driver string
	ETA    time.Duration
}

Response contains ETA for a trip.

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server implements jaeger-demo-frontend service

func NewServer

func NewServer(options ConfigOptions, tracer opentracing.Tracer, logger log.Factory) *Server

NewServer creates a new frontend.Server

func (*Server) Run

func (s *Server) Run() error

Run starts the frontend server

Directories

Path Synopsis
Package statik contains static assets.
Package statik contains static assets.

Jump to

Keyboard shortcuts

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