Documentation
¶
Index ¶
Constants ¶
View Source
const ( ContextKeyAPIRequestInfo = "_api_request_info" ContextKeyAPIResponseInfo = "_api_response_info" ContextKeyAPIError = "_api_error" ContextKeyCredential = "_credential" ContextKeySession = "_session" ContextKeyNamespace = "_namespace" ContextKeyDB = "_db" ContextKeyTX = "_tx" ContextKeyLogger = "_logger" ContextKeyTrace = "_trace" ContextKeyConfig = "_config" )
View Source
const (
RedactMask = "REDACTED XXXX"
)
View Source
const (
TimeFormat = "2006-01-02 15:04:05.00"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Debuggable ¶
type Initializable ¶
Initializable is implemented by services that require initialization. Init is called on first startup and on every restart, making it the appropriate place to load dynamic configuration that may change between runs.
type MessageHandler ¶ added in v0.2.16
type MessageSender ¶ added in v0.2.16
type Pair ¶
type Pair[K comparable, V any] interface { SetKey(key K) SetValue(value V) GetKey() K GetValue() V String() string }
func NewPair ¶
func NewPair[K comparable, V any](key K, value V) Pair[K, V]
type RawMessageHandler ¶ added in v0.2.16
type RawMessageSender ¶ added in v0.2.16
Click to show internal directories.
Click to hide internal directories.