예제 #1
0
파일: login.go 프로젝트: hermanschaaf/wgf
func init() {
	sapi.RegisterAction("login", func() sapi.ActionInterface { return &LoginAction{} })
}
예제 #2
0
파일: index.go 프로젝트: hermanschaaf/wgf
func init() {
	sapi.RegisterAction("index", func() sapi.ActionInterface { return &IndexAction{} })
}
예제 #3
0
func init() {
	sapi.RegisterAction("ws", func() sapi.ActionInterface { return &WebSocketAction{} })
}