Beispiel #1
0
func NewApp(key string, title string) *App {
	app := &App{
		App: lib.NewApp(key, title),
	}
	setupApi(app)
	setupPages(app)
	return app
}
Beispiel #2
0
func NewApp(key, title, imageUrl string) *App {
	app := lib.NewApp(key, title)
	app.DefaultOgp["image"] = imageUrl
	return &App{
		App:        app,
		ImageUrl:   imageUrl,
		Members:    make(map[string]*ameblo.Member),
		MemberList: make([]*ameblo.Member, 0),
	}

}
Beispiel #3
0
func init() {
	app = lib.NewApp(TEST_APP_KEY, "録画")
}
Beispiel #4
0
package pt

import (
	"github.com/speedland/apps/server/lib"
)

var app = lib.NewApp("pt", "録画")

func init() {

}
Beispiel #5
0
package site

import (
	"github.com/speedland/apps/server/lib"
)

var app = lib.NewApp("site", "サイト情報")

func init() {
	app.Page.Navi("/privacy.html", "プライバシー").RequireAuth(lib.Family)
	app.Page.Navi("/policy.html", "利用規約").RequireAuth(lib.Family)
}
Beispiel #6
0
package admin

import (
	"github.com/speedland/apps/server/lib"
)

var app = lib.NewApp("admin", "システム管理")

func init() {
}