Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EverythingMe/go-disque
/ types & classes
Types & classes
17 in github.com/EverythingMe/go-disque
⨍
Functions
85
◇
Types & classes
17
↓ 7 callers
FuncType
DialFunc
DialFunc is a redis dialer function that should be supplied to the pool
disque/pool.go:40
Struct
AddRequest
AddRequest describes how you want a job to be enqueued
disque/disque.go:32
Struct
Chan
Chan represents a cross machine "channel" over disque
disqchan/disqchan.go:21
Interface
Client
Client is the interface that describes a disque client
disque/disque.go:58
Struct
Client
Client is used to enqueue tasks
tasque/client.go:12
Struct
CrawlHandler
disqrawl/crawler.go:21
Struct
FuncTaskHandler
FuncTaskHandler wraps a func as a complete handler
tasque/tasque.go:80
Struct
HelloResponse
HelloResponse is returned from the Hello command and tells us the state of the cluster
disque/disque.go:52
Struct
Job
Job describes a job that is about to be enqueued or is received from the client for proecessing
disque/disque.go:16
Struct
Node
Node describes a node in the cluster, received from Hello
disque/pool.go:28
Struct
Pool
Pool is a client pool that keeps track of the available servers in the cluster, and retrieves clients to random nodes in the cluster. Pooled connectio
disque/pool.go:45
Struct
RedisClient
RedisClient implements a redigo based client
disque/disque.go:90
Struct
Task
A task represents the name and parameters of a task we want to execute on a worker. You can use it to pass parameters to the job executor
tasque/tasque.go:18
Interface
TaskHandler
TaskHandler is the interface that handlers must provide
tasque/tasque.go:74
Struct
Worker
A worker the runner for a worker process that runs goroutines as worker threads. You register TaskHandlers to handle tasks in the worker
tasque/worker.go:15
Struct
message
disqchan/disqchan.go:109
TypeAlias
nodeList
NodeList is a list of nodes with search
disque/pool.go:15