Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDemoController ¶
func NewDemoController() web.Controller
func NewWelcomeController ¶
func NewWelcomeController(cc infra.Resolver) web.Controller
Types ¶
type DemoController ¶
type DemoController struct { }
func (*DemoController) Register ¶
func (d *DemoController) Register(router web.Router)
type WelcomeController ¶
type WelcomeController struct {
// contains filtered or unexported fields
}
func (*WelcomeController) Hello2 ¶
func (w *WelcomeController) Hello2(req web.Request, user *User) string
func (*WelcomeController) Hello3 ¶
func (w *WelcomeController) Hello3(req web.Request)
func (*WelcomeController) Register ¶
func (w *WelcomeController) Register(router web.Router)
Click to show internal directories.
Click to hide internal directories.