b888e3450f
Remove Queue Controller Config * removeout
18 lines
282 B
Go
18 lines
282 B
Go
package queue
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/aws/aws-sdk-go-v2/service/sqs"
|
|
"github.com/aws/aws-sdk-go-v2/service/sqs/types"
|
|
)
|
|
|
|
type Config struct {
|
|
URL string
|
|
Client *sqs.Client
|
|
}
|
|
|
|
type Controller interface {
|
|
Process(ctx context.Context, message *types.Message) error
|
|
}
|