Documentation
¶
Index ¶
- type JsonValidator
- type StatusPostBody
- type TimerTimePostBody
- type WebAPI
- func (a *WebAPI) BasicAuthMiddleware() echo.MiddlewareFunc
- func (a *WebAPI) ErrorHandler(err error, c echo.Context)
- func (a *WebAPI) GetStatus(c echo.Context) error
- func (a *WebAPI) NewJsonValidator() *JsonValidator
- func (a *WebAPI) SetBathAdditionalHeating(c echo.Context) error
- func (a *WebAPI) SetBathAuto(c echo.Context) error
- func (a *WebAPI) SetBathAutoTimer(c echo.Context) error
- func (a *WebAPI) SetBathAutoTimerTime(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JsonValidator ¶
type JsonValidator struct {
// contains filtered or unexported fields
}
func (*JsonValidator) Validate ¶
func (cv *JsonValidator) Validate(i interface{}) error
type StatusPostBody ¶
type StatusPostBody struct {
Status *bool `json:"status" validate:"required"`
}
type TimerTimePostBody ¶
type WebAPI ¶
type WebAPI struct {
// contains filtered or unexported fields
}
func (*WebAPI) BasicAuthMiddleware ¶
func (a *WebAPI) BasicAuthMiddleware() echo.MiddlewareFunc
func (*WebAPI) NewJsonValidator ¶
func (a *WebAPI) NewJsonValidator() *JsonValidator
func (*WebAPI) SetBathAdditionalHeating ¶
Click to show internal directories.
Click to hide internal directories.