Add comment to explain what this service does

This commit is contained in:
Gabe Kangas 2023-03-27 15:57:53 -07:00
parent a3e890ff7a
commit c4f30210ac
No known key found for this signature in database
GPG key ID: 4345B2060657F330

View file

@ -21,6 +21,9 @@ type FileWriterReceiverServiceCallback interface {
}
// FileWriterReceiverService accepts transcoder responses via HTTP and fires the callbacks.
// It is intended to be the middleman between the transcoder and the storage provider and allows
// the transcoder process to be completely isolated and even run remotely in the future, as long
// as it can send HTTP requests to this service with the results.
type FileWriterReceiverService struct {
callbacks FileWriterReceiverServiceCallback
}