Documentation ¶
Index ¶
- Constants
- func Ack(ctx context.Context, redis *redis.Client, connCode string)
- func AckSubscribe(ctx context.Context, redis *redis.Client, connCode string) *redis.PubSub
- func PushJob(ctx context.Context, redis *redis.Client, connCode string, jobType JobType, ...) error
- func Subscribe(ctx context.Context, redis *redis.Client, connCode string) *redis.PubSub
- type Broker
- type Job
- type JobType
Constants ¶
View Source
const ConnectCodeLength = 8
View Source
const JobNamespace = "automuteus:jobs:"
View Source
const JobTTLSeconds = 3600
Variables ¶
This section is empty.
Functions ¶
func AckSubscribe ¶
Types ¶
type Broker ¶
type Broker struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.