🚧 Stub Handler
This commit is contained in:
parent
7f92418789
commit
f96e1ddf3b
4 changed files with 25 additions and 0 deletions
9
handler.go
Normal file
9
handler.go
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
package idiohandler
|
||||
|
||||
import "net/http"
|
||||
|
||||
type Handler func(*http.Request) (Responder, error)
|
||||
|
||||
func (h Handler) ServeHttp(w http.ResponseWriter, r *http.Request) {
|
||||
// @todo implement
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue