Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App represents the executable for the extension.
type BaseExtension ¶ added in v0.56.0
type BaseExtension struct { *ExtResult // contains filtered or unexported fields }
func NewExtension ¶ added in v0.56.0
func NewExtension(name, version string) *BaseExtension
func (*BaseExtension) Name ¶ added in v0.56.0
func (ext *BaseExtension) Name() string
func (*BaseExtension) Result ¶ added in v0.56.0
func (ext *BaseExtension) Result() *ExtResult
func (*BaseExtension) Version ¶ added in v0.56.0
func (ext *BaseExtension) Version() string
type ExtResult ¶ added in v0.56.0
type ExtResult struct { Name string `json:"name"` Version string `json:"version"` Err error `json:"error,omitempty"` Data map[string]interface{} `json:"data,omitempty"` }
ExtResult ...
type Extension ¶
Extension provides ability to extend Tagify workflow, to be able to incorporate more functionality into the Tagify and build such things like deeper more opinionated Tagify primitives e.g. YouTube extension to get more data out of the YouTube videos and etc (see testImgCrawlerExt inside the processor/html/extension_test.go).
Click to show internal directories.
Click to hide internal directories.