aws

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const ProviderScheme = "s3"

Variables

This section is empty.

Functions

func NewService

func NewService(config *Config) storage.Service

NewService creates a new aws storage service

func NewServiceWithCredential

func NewServiceWithCredential(credentials string) (storage.Service, error)

NewService creates a new aws storage service

Types

type Config

type Config struct {
	Region string
	Key    string
	Secret string
	Token  string
}

Config represents storage

func NewConfig

func NewConfig(URL string) (*Config, error)

NewConfig creates a new config from URL

Jump to

Keyboard shortcuts

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