Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bufferapp/sqs-worker-go
/ functions
Functions
14 in github.com/bufferapp/sqs-worker-go
⨍
Functions
14
◇
Types & classes
4
↓ 5 callers
Method
Error
()
worker/worker.go:33
↓ 2 callers
Function
NewService
NewService creates new worker service
worker/worker.go:68
↓ 1 callers
Method
HandleMessage
(msg *sqs.Message)
worker/worker.go:24
↓ 1 callers
Function
handleMessage
(s *Service, m *sqs.Message, h Handler)
worker/worker.go:138
↓ 1 callers
Function
run
poll launches goroutine per received message and wait for all message to be processed
worker/worker.go:116
↓ 1 callers
Function
setup
()
worker/worker_test.go:23
↓ 1 callers
Method
shouldBackup
()
worker/worker.go:134
↓ 1 callers
Function
teardown
()
worker/worker_test.go:47
Method
Backup
Backup to set up Firehose backup option
worker/worker.go:60
Method
HandleMessage
HandleMessage is used for the actual execution of each message
worker/worker.go:18
Function
NewInvalidMessageError
NewInvalidMessageError to create new error for messages that should be deleted
worker/worker.go:38
Method
Start
Start starts the polling and will continue polling till the application is forcibly stopped
worker/worker.go:93
Function
TestMain
(m *testing.M)
worker/worker_test.go:67
Function
TestNewService
(t *testing.T)
worker/worker_test.go:80