Documentation
¶
Index ¶
- Constants
- func InitAPIServer(cfg *config.Config, dbSession *cdb.Session, tc tsdkClient.Client, ...) *echo.Echo
- func InitMetricsServer(e *echo.Echo, cfg *config.Config) *echo.Echo
- func InitTemporalClients(tcfg *cconfig.TemporalConfig, tracingEnabled bool) (tsdkClient.Client, tsdkClient.NamespaceClient, error)
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 InitTemporalClients ¶
func InitTemporalClients(tcfg *cconfig.TemporalConfig, tracingEnabled bool) (tsdkClient.Client, tsdkClient.NamespaceClient, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.