storagesvc

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageService

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

func MakeStorageService

func MakeStorageService(sc *storageConfig) (*StorageService, error)

func RunStorageService

func RunStorageService(storageType StorageType, storagePath string, containerName string, port int) *StorageService

func (*StorageService) Start

func (ss *StorageService) Start(port int)

type StorageType

type StorageType string
const (
	StorageTypeLocal StorageType = "local"
)

type UploadResponse

type UploadResponse struct {
	ID string `json:"id"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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