An open API service indexing awesome lists of open source software.

https://github.com/gernest/gopastebin3

A Pastebin using Go, Oauth, and JSON Web Tokens
https://github.com/gernest/gopastebin3

Last synced: about 2 months ago
JSON representation

A Pastebin using Go, Oauth, and JSON Web Tokens

Awesome Lists containing this project

README

        

# gopastebin3
This version of Pastebin uses PrismJS syntax highlighting. I tried to figure Bootstrap out. Logging out invalidates the cookie. I used MongoBD for storing the pastes.

# Dependencies

go get github.com/dgrijalva/jwt-go

go get code.google.com/p/goauth2/oauth

go get gopkg.in/mgo.v2

go get gopkg.in/mgo.v2/bson

# Encryption

Use openssl to make a private key called "demo.rsa" and a related public key called "demo.rsa.pub". Put them in the "static" directory.