Exemple #1
0
func init() {
	sapi.RegisterAction("login", func() sapi.ActionInterface { return &LoginAction{} })
}
Exemple #2
0
func init() {
	sapi.RegisterAction("index", func() sapi.ActionInterface { return &IndexAction{} })
}
Exemple #3
0
func init() {
	sapi.RegisterAction("ws", func() sapi.ActionInterface { return &WebSocketAction{} })
}