Documentation ¶
Index ¶
- type Download
- type Login
- type Server
- func (h *Server) Handle404(w http.ResponseWriter, r *http.Request)
- func (h *Server) Initialize()
- func (h *Server) IsAuth(w http.ResponseWriter, r *http.Request) bool
- func (h *Server) LoadRouter()
- func (h *Server) LogRequest(r *http.Request)
- func (h *Server) Middleware(next http.Handler) http.Handler
- func (h *Server) Router() *mux.Router
- func (h *Server) SetCert(keyFile, crtFile string)
- func (h *Server) Shutdown()
- func (h *Server) Start() error
- type Static
- type UI
- func (ui UI) Console(w http.ResponseWriter, r *http.Request)
- func (ui UI) Hi(w http.ResponseWriter, r *http.Request)
- func (ui UI) Home(w http.ResponseWriter, r *http.Request)
- func (ui UI) Index(w http.ResponseWriter, r *http.Request)
- func (ui UI) Instance(w http.ResponseWriter, r *http.Request)
- func (ui UI) Router(router *mux.Router)
- func (ui UI) Spice(w http.ResponseWriter, r *http.Request)
- type WebSocket
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) Handle404 ¶ added in v0.2.11
func (h *Server) Handle404(w http.ResponseWriter, r *http.Request)
func (*Server) Initialize ¶
func (h *Server) Initialize()
func (*Server) LoadRouter ¶
func (h *Server) LoadRouter()
func (*Server) LogRequest ¶ added in v0.4.83
type Static ¶ added in v0.2.11
type Static struct { }
func (Static) Favicon ¶ added in v0.2.11
func (s Static) Favicon(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.