uploader

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(u *Uploader)

func WithFormatOut

func WithFormatOut(outFormat string, comma string) Option

func WithGenerate

func WithGenerate(generate bool) Option

func WithImageSources

func WithImageSources(imageSources []string) Option

func WithPaths

func WithPaths(paths []string) Option

func WithRecursive

func WithRecursive(recursive bool) Option

func WithTTL

func WithTTL(ttl uint64) Option

type Uploader

type Uploader struct {
	// contains filtered or unexported fields
}

func New

func New(apiKey string, opts ...Option) *Uploader

func (*Uploader) Do

func (u *Uploader) Do(ctx context.Context) error

Jump to

Keyboard shortcuts

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