backend

package
v0.0.0-...-c587dfe Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2015 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DRIVER          string
	ENDPOINT        string
	BUCKETNAME      string
	AccessKeyID     string
	AccessKeySecret string
	//password for upyun
	USER   string
	PASSWD string
)
View Source
var DOMAIN = "7xjdg0.com1.z0.glb.clouddn.com"

Functions

func Save

func Save(inputJson string) (outJson string, err error)

Types

type InputObject

type InputObject struct {
	Key        string `json:"key"`
	Uploadfile string `json:"uploadfile"`
}

type OutputObject

type OutputObject struct {
	Key         string `json:"key"`
	Uploadfile  string `json:"uploadfile"`
	Downloadurl string `json:"downloadurl"`
}

Jump to

Keyboard shortcuts

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