Documentation ¶
Index ¶
- func HandlerLogTodo(w http.ResponseWriter, r *http.Request)
- func HandlerLogUser(w http.ResponseWriter, r *http.Request)
- func HandlerLogin(w http.ResponseWriter, r *http.Request)
- func HandlerRegister(w http.ResponseWriter, r *http.Request)
- func HandlerTodo(w http.ResponseWriter, r *http.Request)
- func HandlerTodoCategory(w http.ResponseWriter, r *http.Request)
- func HandlerTodoClear(w http.ResponseWriter, r *http.Request)
- func HandlerUser(w http.ResponseWriter, r *http.Request)
- func Home(w http.ResponseWriter, r *http.Request)
- func JDecoder(w http.ResponseWriter, r *http.Request, data any) error
- func PasetoDecode(w http.ResponseWriter, r *http.Request, headerName string) (model.Payload, error)
- func ReturnStruct(DataStuct any) string
- func StatusBadRequest(w http.ResponseWriter, message string)
- func StatusConflict(w http.ResponseWriter, message string)
- func StatusCreated(w http.ResponseWriter, message string)
- func StatusMethodNotAllowed(w http.ResponseWriter, message string)
- func StatusNoContent(w http.ResponseWriter, message string)
- func StatusNotFound(w http.ResponseWriter, message string)
- func StatusOK(w http.ResponseWriter, message string, data ...any)
- func StatusUnauthorized(w http.ResponseWriter, message string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandlerLogTodo ¶
func HandlerLogTodo(w http.ResponseWriter, r *http.Request)
func HandlerLogUser ¶
func HandlerLogUser(w http.ResponseWriter, r *http.Request)
func HandlerLogin ¶
func HandlerLogin(w http.ResponseWriter, r *http.Request)
func HandlerRegister ¶
func HandlerRegister(w http.ResponseWriter, r *http.Request)
func HandlerTodo ¶
func HandlerTodo(w http.ResponseWriter, r *http.Request)
func HandlerTodoCategory ¶
func HandlerTodoCategory(w http.ResponseWriter, r *http.Request)
func HandlerTodoClear ¶
func HandlerTodoClear(w http.ResponseWriter, r *http.Request)
func HandlerUser ¶
func HandlerUser(w http.ResponseWriter, r *http.Request)
func PasetoDecode ¶
func ReturnStruct ¶
func StatusBadRequest ¶
func StatusBadRequest(w http.ResponseWriter, message string)
func StatusConflict ¶
func StatusConflict(w http.ResponseWriter, message string)
func StatusCreated ¶
func StatusCreated(w http.ResponseWriter, message string)
func StatusMethodNotAllowed ¶
func StatusMethodNotAllowed(w http.ResponseWriter, message string)
func StatusNoContent ¶
func StatusNoContent(w http.ResponseWriter, message string)
func StatusNotFound ¶ added in v0.0.3
func StatusNotFound(w http.ResponseWriter, message string)
func StatusUnauthorized ¶
func StatusUnauthorized(w http.ResponseWriter, message string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.