Documentation ¶
Index ¶
Constants ¶
View Source
const NatsMsgId = "Nats-Msg-Id"
View Source
const PUBLISH_FAILURE = "FAILURE"
View Source
const PUBLISH_SUCCESS = "SUCCESS"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogsConfig ¶
type LogsConfig struct {
DefaultLogTimeLimit int64 `env:"DEFAULT_LOG_TIME_LIMIT" envDefault:"1"`
}
type PanicEventIdentifier ¶
type PanicEventIdentifier struct { Topic string `json:"topic"` Data string `json:"data"` PanicInfo string `json:"panicInfo"` }
PanicEventIdentifier is used to describe panic info
type PublishPanicEvent ¶
type PublishPanicEvent struct { Topic string `json:"topic"` // PANIC_ON_PROCESSING_TOPIC Payload PanicEventIdentifier `json:"payload"` // Panic Info structure }
PublishPanicEvent is used for PANIC_ON_PROCESSING_TOPIC payload
Click to show internal directories.
Click to hide internal directories.