Documentation ¶
Index ¶
- Constants
- func ChatServer(rw http.ResponseWriter, r *http.Request, p httprouter.Params)
- func GetHost(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetList(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetTakHistory(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func Home(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func IndexFiles(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func UploadFiles(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- type BroadcastMessage
- type Client
- type Data
- type HostData
- type Hub
- type Message
- type NotFoundHttpServe
- type RegisterEvent
- type Sizer
- type Socket
Constants ¶
View Source
const ( Sign = "sign" Chat = "chat" )
Variables ¶
This section is empty.
Functions ¶
func ChatServer ¶
func ChatServer(rw http.ResponseWriter, r *http.Request, p httprouter.Params)
func GetHost ¶
func GetHost(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetList ¶
func GetList(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetTakHistory ¶
func GetTakHistory(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func Home ¶
func Home(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func IndexFiles ¶
func IndexFiles(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func UploadFiles ¶
func UploadFiles(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Types ¶
type BroadcastMessage ¶
type NotFoundHttpServe ¶
type NotFoundHttpServe struct { }
func (*NotFoundHttpServe) ServeHTTP ¶
func (h *NotFoundHttpServe) ServeHTTP(w http.ResponseWriter, r *http.Request)
type RegisterEvent ¶
Click to show internal directories.
Click to hide internal directories.