server

package
v0.0.0-...-b0439c2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2026 License: Apache-2.0 Imports: 32 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 InitAPIServer

func InitAPIServer(cfg *config.Config, dbSession *cdb.Session, tc tsdkClient.Client, tnc tsdkClient.NamespaceClient, scp *sc.ClientPool) *echo.Echo

func InitMetricsServer

func InitMetricsServer(e *echo.Echo, cfg *config.Config) *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