appstore

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(url, username, accessKey string, timeout int) fileuploader.FileUploader

New returns an implementation for AppStore

Types

type AppStore

type AppStore struct {
	HTTPClient *http.Client
	URL        string
	Username   string
	AccessKey  string
}

AppStore implements functions for AppStore interface

func (*AppStore) Upload

func (s *AppStore) Upload(fileName, formType string) error

Upload uploads file to remote storage

Jump to

Keyboard shortcuts

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