package
Version:
v0.0.0-...-4be293a
Opens a new window with list of versions in this module.
Published: Jan 17, 2025
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Client struct {
Redis *redis.Client
RedisChannel string
}
func NewClient(rdc *redis.Client, redisChannel string) *Client
type Command struct {
Command string `json:"command"`
Data string `json:"data"`
}
type Event struct {
Stream string `json:"stream"`
Data string `json:"data"`
}
type EventData struct {
Event string `json:"event"`
Data map[string]interface{} `json:"data"`
CorrelationID string `json:"correlationId"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.