Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigOptions ¶
type ConfigOptions struct { FrontendHostPort string AuthSecrets auth.ConfigOptions Email email.ConfigOptions }
ConfigOptions provides all config options frontend service needs.
type Server ¶
type Server struct { ConfigOptions // contains filtered or unexported fields }
Server implements jaeger-demo-frontend service
func NewServer ¶
func NewServer( logger *zap.SugaredLogger, tracer opentracing.Tracer, cache cache.Cache, db database.Database, storage storage.S3Client, config ConfigOptions, ) *Server
NewServer creates a new frontend.Server
func (*Server) Middleware ¶
Middleware implements mux.Middleware. It's a general recovery middleware to catch all panics in every route.
Click to show internal directories.
Click to hide internal directories.