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