Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthCheckResponse ¶
type HealthCheckResponse struct {
Ok bool `json:"ok"`
}
type HomeController ¶
type HomeController struct { }
@Controller(/)
func (*HomeController) HelathCheck ¶
func (this *HomeController) HelathCheck(c echo.Context) HealthCheckResponse
@GetMapping("/health")
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
@Controller("/user")
func (*UserController) Login ¶
func (this *UserController) Login( c echo.Context, body dto.LoginRequest, ) dto.LoginResponse
@PostMapping("/login")
func (*UserController) Signup ¶
func (this *UserController) Signup( c echo.Context, body dto.SignupRequest, ) string
@PostMapping("/signup")
Click to show internal directories.
Click to hide internal directories.