Server data model
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
"sync"
|
||||
)
|
||||
|
||||
type Handler struct {
|
||||
Id string
|
||||
Route *Route
|
||||
Writing sync.Mutex
|
||||
Writer http.ResponseWriter
|
||||
Request *http.Request
|
||||
}
|
||||
Reference in New Issue
Block a user