api

package
v0.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL