modules

package
v0.0.0-...-57ee888 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2014 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Codeprofile string = "http://10.0.33.34:3000/oauth/"
	Github      string = "https://github.com/login/oauth/authorize"
	Bitbucket   string = ""
	Linkedin    string = ""
)

Variables

This section is empty.

Functions

func ConfigLoad

func ConfigLoad(filename string)

func DbConnect

func DbConnect() *mgo.Database

func GithubOAuth

func GithubOAuth(oauth models.GithubOAuth, err binding.Errors, res http.ResponseWriter) string

func Register

func Register(db *mgo.Database, params martini.Params, res http.ResponseWriter, req *http.Request) string

Types

type Configuration

type Configuration struct {
	GithubApiKey string
}
var (
	Config Configuration = Configuration{}
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL