Skip to content

Instantly share code, notes, and snippets.

Rauk Rauk

Block or report user

Report or block Rauk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:2024de185c9813c30569ebf72d31b5ad
package com.paytm.wallet.gratification;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import com.google.gson.JsonPrimitive;
//import com.paytm.merchant.CheckSumServiceHelper;
import com.paytm.pg.merchant.CheckSumServiceHelper;
import java.io.BufferedReader;
import java.io.DataOutputStream;
@Rauk
Rauk / Some Common API examples
Created Apr 29, 2016
Some Common API examples
View Some Common API examples
Create Client
client, err := minio.NewV2(Url, AccessKey, SecretKey, true)
if err != nil {
log.Fatalln(err)
}
Create Bucket and List buckets
err = client.MakeBucket("bucketName", "")
if err != nil {
log.Fatalln(err)
@Rauk
Rauk / gist:457be89a59c33220ab30
Created Mar 18, 2016
Delete All the objects in the bucket
View gist:457be89a59c33220ab30
package main
import (
"log"
"github.com/minio/minio-go"
"fmt"
)
func main() {
accessKey := "accessKey"
You can’t perform that action at this time.