Versions in this module Expand all Collapse all v0 v0.0.3 May 22, 2021 v0.0.2 May 22, 2021 Changes in this version + const UUI31223NotSendingHostHeader + const UUI51288AllowFixedLengthResponses + const UUI51292EnableResponseTimeouts + var LOG = logging.MustGetLogger("crank4go") + func ExitProgram(exitFunc func()) + func GetFreePort() (int, error) + func IsNotLocalEnv() bool + type CancelErr struct + Msg string + func (c CancelErr) Error() string + type ConnectionMonitor struct + func NewConnectionMonitor(handlers []DataPublishHandler) *ConnectionMonitor + func (m *ConnectionMonitor) AvailableConns() int + func (m *ConnectionMonitor) ConnectionCount() int + func (m *ConnectionMonitor) OnConnectionAvailable() + func (m *ConnectionMonitor) OnConnectionConsumed() + func (m *ConnectionMonitor) OnConnectionEnded() + func (m *ConnectionMonitor) OnConnectionEnded2(path, routerSocketID string) + func (m *ConnectionMonitor) OnConnectionEnded3(routerSocketID, path, reqComponentName string, respStatus int, ...) + func (m *ConnectionMonitor) OnConnectionStarted() + func (m *ConnectionMonitor) OnConnectionStarted2(path, routerSocketID string) + func (m *ConnectionMonitor) OpenFiles() int + func (m *ConnectionMonitor) ReportWebsocketPoolSize(size int) + type CrankerErr struct + Code int + Msg string + func (c *CrankerErr) ErrCode() int + func (c *CrankerErr) Error() string + type DataPublishHandler interface + PublishData func(key string, value int) + type DataPublishHandlerFunc func(key string, value int) + func (f DataPublishHandlerFunc) PublishData(key string, value int) + type HttpClientPolicyErr struct + Msg string + func (pe HttpClientPolicyErr) Error() string + type NoRouteErr struct + Msg string + func (err NoRouteErr) Error() string + type Password string + func (p Password) Redacted() interface{} + type TimeoutErr struct + Msg string + func (err TimeoutErr) Error() string