app.go
author Ollivier Robert <roberto@keltia.net>
Thu, 06 Apr 2017 23:31:31 +0200
changeset 21 555716349f64
child 27 15abafa6cd90
permissions -rw-r--r--
Move App stuff into app.go.

package gondole

import (

)

// NewApp registers a new instance
func NewApp(name, redirectURI string) (g *Gondole, err error) {
	// Load configuration, will register if none is found

	g = &Gondole{
		Name:   name,
		ID:     config.ID,
		Secret: config.BearerToken,
	}
	return
}