Documentation
¶
Index ¶
- type DevServer
- func (ds *DevServer) Connect(w http.ResponseWriter, r *http.Request)
- func (ds *DevServer) Error(w http.ResponseWriter, r *http.Request)
- func (ds *DevServer) Reload(w http.ResponseWriter, r *http.Request)
- func (ds *DevServer) SendError(mes string)
- func (ds *DevServer) SendErrorBytes(mes []byte)
- func (ds *DevServer) SendReload()
- func (ds *DevServer) StartServer(port string, pathToIndex string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DevServer ¶
type DevServer struct {
// contains filtered or unexported fields
}
func (*DevServer) SendErrorBytes ¶
func (*DevServer) SendReload ¶
func (ds *DevServer) SendReload()
Click to show internal directories.
Click to hide internal directories.