Documentation ¶
Index ¶
- Variables
- func FileServer(root http.FileSystem) http.Handler
- func GetTime(t time.Time) string
- type Download
- type FileInfo
- type Host
- type ListFileInfo
- type Login
- type Server
- func (h *Server) Filter(r *http.Request) bool
- func (h *Server) Handle404(w http.ResponseWriter, r *http.Request)
- func (h *Server) History(user schema.User, 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()
- 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) Lite(w http.ResponseWriter, r *http.Request)
- func (ui UI) Router(router *mux.Router)
- type WsGraphics
- type WsProxy
- type WsTcp
Constants ¶
This section is empty.
Variables ¶
View Source
var Session = session{ // contains filtered or unexported fields }
Functions ¶
func FileServer ¶
func FileServer(root http.FileSystem) http.Handler
Types ¶
type ListFileInfo ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) Initialize ¶
func (h *Server) Initialize()
func (*Server) LoadRouter ¶
func (h *Server) LoadRouter()
func (*Server) LogRequest ¶
type WsGraphics ¶
type WsGraphics struct { }
func (WsGraphics) GetLocal ¶
func (w WsGraphics) GetLocal(id, typ string) string
func (WsGraphics) GetRemote ¶
func (w WsGraphics) GetRemote(id, name, typ string) string
func (WsGraphics) Handle ¶
func (w WsGraphics) Handle(ws *websocket.Conn)
func (WsGraphics) Router ¶
func (w WsGraphics) Router(router *mux.Router)
Click to show internal directories.
Click to hide internal directories.