package cloudfront

import "github.com/AdRoll/goamz/cloudfront"

Index

Types

type CloudFront

type CloudFront struct {
	BaseURL string
	// contains filtered or unexported fields
}

func New

func New(baseurl string, key *rsa.PrivateKey, keyPairId string) *CloudFront

func NewKeyLess

func NewKeyLess(auth aws.Auth, baseurl string) *CloudFront

func (*CloudFront) CannedSignedURL

func (cf *CloudFront) CannedSignedURL(path, queryString string, expires time.Time) (string, error)

Creates a signed url using RSAwithSHA1 as specified by http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-canned-policy.html#private-content-canned-policy-creating-signature

func (*CloudFront) SignedURL

func (cloudfront *CloudFront) SignedURL(path, querystrings string, expires time.Time) string

Source Files

cloudfront.go

Version
v0.0.0-20170825154802-2731d20f46f4 (latest)
Published
Aug 25, 2017
Platform
js/wasm
Imports
11 packages
Last checked
now

Tools for package owners.