uploader

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	UploadFile(string) (string, error)
}

func NewClient

func NewClient(config Config) Client

type Config

type Config struct {
	FilepathPrefix string
	SourcesDir     string

	Transport Transport
	Logger    logger.Logger
}

type Transport

type Transport interface {
	Upload(fileGlob string, filepathPrefix string, sourcesDir string) error
}

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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