Skip to content

Instantly share code, notes, and snippets.

Avatar

Frank He wlhee

  • Google
  • San Francisco, CA
View GitHub Profile
View client.go
package main
import (
"fmt"
"net/http"
"os"
"time"
"google3/base/go/flag"
)
@wlhee
wlhee / upstream.go
Last active Nov 23, 2019
Example Upstream
View upstream.go
package main
import (
"fmt"
"io"
"math"
"net/http"
"net/http/httputil"
"strconv"
"strings"
@wlhee
wlhee / exmaple.go
Last active Jun 17, 2019
Generate Open ID Token Connect with Google Service Account Key
View exmaple.go
package main
import (
"context"
"errors"
"flag"
"fmt"
"io/ioutil"
"log"