Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStorageDynamoDB ¶ added in v0.6.0
func NewStorageDynamoDB(client dynamodbiface.DynamoDBAPI, table string) *storageDynamoDBImpl
func NewStorageInMemory ¶ added in v0.6.0
func NewStorageInMemory() *storageInMemoryImpl
Types ¶
type Consumer ¶
type Consumer interface {
Start()
}
Consumer is the component that subscribes to the broker and interacts with Archivematica.
type ConsumerImpl ¶
type ConsumerImpl struct {
// contains filtered or unexported fields
}
ConsumerImpl is an implementation of Consumer.
func MakeConsumer ¶
func MakeConsumer( ctx context.Context, logger log.FieldLogger, broker *broker.Broker, amc *amclient.Client, s3 s3.ObjectStorage, amSharedFs afero.Fs, storage Storage) *ConsumerImpl
MakeConsumer returns a new ConsumerImpl which implements Consumer
Click to show internal directories.
Click to hide internal directories.