server

package
v0.0.0-...-9877b9a Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2026 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ReadTimeout bounds how long the server spends reading a request.
	ReadTimeout = 60 * time.Second

	// WriteTimeout is the deadline for writing a response, applied to the
	// connection when the request arrives. It is the hard ceiling on total
	// handler latency: a handler that produces its response after this elapses
	// cannot deliver it, so the client sees a dropped connection instead of the
	// status the handler chose. Any handler-side wait, including the Temporal
	// proxy timeout ladders, must complete well inside it.
	WriteTimeout = 60 * time.Second
)

Variables

This section is empty.

Functions

func InitMetricsServer

func InitMetricsServer(e *echo.Echo, namespace string) *echo.Echo

func InitTemporalClients

func InitTemporalClients(tcfg *cconfig.TemporalConfig, tracingEnabled bool) (tsdkClient.Client, tsdkClient.NamespaceClient, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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