2024-01-12 19:18:33 +08:00
|
|
|
package nf
|
|
|
|
|
2024-01-29 15:48:09 +08:00
|
|
|
import "fmt"
|
|
|
|
|
2024-01-12 19:18:33 +08:00
|
|
|
type HandlerFunc func(*Ctx) error
|
2024-01-29 15:48:09 +08:00
|
|
|
|
|
|
|
func ToDoHandler(c *Ctx) error {
|
2024-02-20 15:34:00 +08:00
|
|
|
return c.Status(501).SendString(fmt.Sprintf("%s - %s Not Implemented", c.Method(), c.Path()))
|
2024-01-29 15:48:09 +08:00
|
|
|
}
|