assetstores

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2017 License: MIT Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NOOPProvider

type NOOPProvider struct{}

func NewNOOPProvider

func NewNOOPProvider() (*NOOPProvider, error)

func (*NOOPProvider) SignURL

func (n *NOOPProvider) SignURL(url string) (string, error)

type NetlifyProvider

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

func NewNetlifyProvider

func NewNetlifyProvider(token string) (*NetlifyProvider, error)

func (*NetlifyProvider) SignURL

func (n *NetlifyProvider) SignURL(downloadURL string) (string, error)

type NetlifySignature

type NetlifySignature struct {
	URL string `json:"url"`
}

type Store

type Store interface {
	SignURL(string) (string, error)
}

func NewStore

func NewStore(config *conf.Configuration) (Store, error)

Jump to

Keyboard shortcuts

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