Table of Contents generated with DocToc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//import request from 'superagent'; | |
request = require('superagent') | |
querystring = require('querystring'); | |
url = require('url'); | |
crypto = require('crypto'); | |
__qiniuAccessKey = 'xxxxx'; | |
__qiniuSecretKey = 'xxxxx'; | |
function makezip() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/json" | |
"image" | |
"log" | |
"net/http" | |
"strconv" | |
"strings" |
Getting Started with Ufop on Qiniu
====
旧版本文档,不要参考这个,看这里
这个教程的目的是快速上手部署和使用一个 Ufop 的应用。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
// run: go run % 3jgAAPjhC9FXslMT ZnkAANzksCImuUcT | |
// build: go build -o /usr/bin/qiniu-reqid % | |
import ( | |
"os" | |
"time" | |
"fmt" | |
"log" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"code.google.com/p/go.crypto/openpgp" | |
"github.com/qiniu/log" | |
"io/ioutil" | |
"os" | |
) | |
func main() { |
NewerOlder