package
Version:
v0.0.0-...-508df49
Opens a new window with list of versions in this module.
Published: Jan 31, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
ApiKey string `koanf:"api_key"`
ApiSecret string `koanf:"api_secret"`
}
Config
contains all information for connecting to imagga.
type Imagga struct {
Cfg Config
}
Imagga
handles the image tagging.
Process
sends one http request to Imagga website.
type Response struct {
Result struct {
Tags []struct {
Confidence float64 `json:"confidence"`
Tag struct {
En string `json:"en"`
} `json:"tag"`
} `json:"tags"`
} `json:"result"`
}
Response
is for image tagging response.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.