Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SignalContext ¶
type SignalContext struct {
AccountID string `json:"account_id,omitempty"`
OrgID string `json:"org_id,omitempty"`
TraceID string `json:"trace_id,omitempty"`
LogStreamID string `json:"log_stream_id,omitempty"`
}
SignalContext captures the request-scoped context values that must survive asynchronous enqueuing. It is stored as a JSONB column on QueueSignal so that the background enqueuer can restore the full context when processing the signal outside the original request goroutine.
func (SignalContext) GormDataType ¶
func (SignalContext) GormDataType() string
GormDataType tells GORM to use the jsonb PostgreSQL type.
func (*SignalContext) Scan ¶
func (sc *SignalContext) Scan(v interface{}) error
Scan implements database/sql.Scanner for reading JSONB from PostgreSQL.
Click to show internal directories.
Click to hide internal directories.