Documentation ¶
Index ¶
Constants ¶
View Source
const ( // event bus to trigger image compression CompressImageTriggerEventBus = "event.bus.hammer.image.compress.processing" // event bus to trigger video thumbnail generation GenVideoThumbnailTriggerEventBus = "event.bus.hammer.video.thumbnail.processing" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenVideoThumbnailReplyEvent ¶ added in v0.0.11
type GenVideoThumbnailReplyEvent struct { Identifier string // identifier FileId string // file id from mini-fstore }
Event replied from hammer about the generated video thumbnail.
type GenVideoThumbnailTriggerEvent ¶ added in v0.0.11
type GenVideoThumbnailTriggerEvent struct { Identifier string // identifier FileId string // file id from mini-fstore ReplyTo string // event bus that will receive event about the generated video thumbnail. }
Event sent to hammer to trigger an vidoe thumbnail generation.
type ImageCompressReplyEvent ¶
type ImageCompressReplyEvent struct { Identifier string // identifier FileId string // file id from mini-fstore }
Event replied from hammer about the compressed image.
type ImageCompressTriggerEvent ¶
type ImageCompressTriggerEvent struct { Identifier string // identifier FileId string // file id from mini-fstore ReplyTo string // event bus that will receive event about the compressed image }
Event sent to hammer to trigger an image compression.
Click to show internal directories.
Click to hide internal directories.