Server data model

This commit is contained in:
Roberto Abdelkader Martínez Pérez
2019-10-04 16:28:06 +02:00
parent bbda43b193
commit 97b8c3fce4
2 changed files with 23 additions and 0 deletions
+14
View File
@@ -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
}