cmd

package
v0.0.0-...-5039272 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Copyright © 2022 HeavyDinosaur

Copyright © 2022 HeavyDinosaur

Index

Constants

View Source
const MaxNumOfWorkers = 3
View Source
const VERSION string = "0.0.4"

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type Files

type Files struct {
	FilePath     string
	Type         string
	Error        error
	UploadResult UploadResponse
}

type ImageStyle

type ImageStyle struct {
	Filename string `json:"filename"`
	Url      string `json:"url"`
}

type UploadFile

type UploadFile struct {
	Key      string `json:"key"`
	Filename string `json:"filename"`
	Source   string `json:"source"`
}

type UploadResponse

type UploadResponse struct {
	Status           int        `json:"status"`
	Message          string     `json:"message"`
	OriginalFilename string     `json:"original_filename"`
	Url              string     `json:"url"`
	UrlViewer        string     `json:"url_viewer"`
	Original         ImageStyle `json:"original"`
	Large            ImageStyle `json:"large"`
	Medium           ImageStyle `json:"medium"`
	Thumb            ImageStyle `json:"thumb"`
}

Jump to

Keyboard shortcuts

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