publisher

package
v0.0.0-...-66d4f6f Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Params

type Params struct {
	ContentType string   `json:"content_type"`
	Filename    string   `json:"filename"`
	Headers     []string `json:"headers"`
	MD5         string   `json:"md5"`
}

type Publisher

type Publisher struct {
	Options *options.Options
}

func (Publisher) Publish

func (p Publisher) Publish(params Params) (Result, error)

type Result

type Result struct {
	SignedURL string `json:"signed_url"`
	FileURL   string `json:"file_url"`
}

Jump to

Keyboard shortcuts

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