Documentation ¶
Index ¶
- type BaseController
- type CityController
- func (this CityController) ActionIndex(ctx echo.Context) error
- func (this CityController) ActionIndexID(ctx echo.Context) error
- func (this CityController) ActionIndexSave(ctx echo.Context) error
- func (this CityController) ActionTwoIndex(ctx echo.Context) error
- func (this CityController) ActionTwoIndexID(ctx echo.Context) error
- func (this CityController) ActionTwoIndexSave(ctx echo.Context) error
- func (this CityController) Setup()
- type HomeController
- type RequestCity
- type RequestCityID
- type StudentController
- type TeacherController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseController ¶
type BaseController struct { }
type CityController ¶
type CityController struct { Group *echo.Group BaseController }
func (CityController) ActionIndex ¶
func (this CityController) ActionIndex(ctx echo.Context) error
func (CityController) ActionIndexID ¶
func (this CityController) ActionIndexID(ctx echo.Context) error
func (CityController) ActionIndexSave ¶
func (this CityController) ActionIndexSave(ctx echo.Context) error
func (CityController) ActionTwoIndex ¶
func (this CityController) ActionTwoIndex(ctx echo.Context) error
func (CityController) ActionTwoIndexID ¶
func (this CityController) ActionTwoIndexID(ctx echo.Context) error
func (CityController) ActionTwoIndexSave ¶
func (this CityController) ActionTwoIndexSave(ctx echo.Context) error
func (CityController) Setup ¶
func (this CityController) Setup()
type HomeController ¶
type HomeController struct { Index echo.HandlerFunc `controller:"GET /"` Html echo.HandlerFunc `controller:"GET html"` String echo.HandlerFunc `controller:"GET string"` }
func (HomeController) ActionHtml ¶
func (this HomeController) ActionHtml(ctx echo.Context) error
func (HomeController) ActionIndex ¶
func (this HomeController) ActionIndex(ctx echo.Context) error
func (HomeController) ActionString ¶
func (this HomeController) ActionString(ctx echo.Context) error
func (HomeController) Path ¶
func (this HomeController) Path() string
func (HomeController) Register ¶
func (this HomeController) Register()
type RequestCity ¶
type RequestCity struct {
Pid int64 `form:"pid" json:"pid"`
}
================================================================================================
type RequestCityID ¶
type RequestCityID struct {
ID int64 `form:"id" json:"id"`
}
type StudentController ¶ added in v1.0.5
type StudentController struct { Group *echo.Group BaseController }
func (StudentController) ActionStudentHello ¶ added in v1.1.6
func (this StudentController) ActionStudentHello(ctx echo.Context) error
func (StudentController) ActionStudentLearn ¶ added in v1.1.6
func (this StudentController) ActionStudentLearn(ctx echo.Context) error
func (StudentController) Setup ¶ added in v1.0.5
func (this StudentController) Setup()
type TeacherController ¶ added in v1.1.6
type TeacherController struct { Group *echo.Group BaseController }
func (TeacherController) ActionTeacherHello ¶ added in v1.1.6
func (this TeacherController) ActionTeacherHello(ctx echo.Context) error
func (TeacherController) ActionTeacherTeach ¶ added in v1.1.6
func (this TeacherController) ActionTeacherTeach(ctx echo.Context) error
func (TeacherController) Setup ¶ added in v1.1.6
func (this TeacherController) Setup()
Click to show internal directories.
Click to hide internal directories.