server

package
v1.0.312 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbandonOpError

type AbandonOpError struct {
	Err error
}

AbandonOpError signifies an operation should trigger abandoning the active task.

func (*AbandonOpError) Error

func (w *AbandonOpError) Error() string

type Server

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

Server is the shar server type responsible for hosting the telemetry server.

func New

func New(ctx context.Context, js nats.JetStreamContext, res *resource.Resource, exp *jaeger.Exporter) *Server

New creates a new telemetry server.

func (*Server) Listen

func (s *Server) Listen() error

Listen starts the telemtry server.

Jump to

Keyboard shortcuts

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