app.go
changeset 21 555716349f64
child 27 15abafa6cd90
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app.go	Thu Apr 06 23:31:31 2017 +0200
@@ -0,0 +1,18 @@
+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
+}
+