These instructions should be run on the client. There are the following stages:
- Download executables
- Prepare objects on the server
- Test the server
- Clean up on server
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "Stmt1495498207000", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:GetBucketLocation", | |
"s3:ListAllMyBuckets" | |
], |
package main | |
import ( | |
"fmt" | |
"hash/crc32" | |
) | |
func randomServers(token string, count int) []int { | |
hTok := crc32.Checksum([]byte(token), crc32.IEEETable) | |
val := uint32(hTok) |
package main | |
import ( | |
"fmt" | |
"github.com/codahale/blake2" | |
"io" | |
"os" | |
) | |
func calcStream(r io.Reader) { |