Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CapturingPassThroughWriter ¶
type CapturingPassThroughWriter struct {
// contains filtered or unexported fields
}
below is some modified IO code that came from https://blog.kowalczyk.info/article/wOYk/advanced-command-execution-in-go-with-osexec.html
func NewCapturingPassThroughWriter ¶
func NewCapturingPassThroughWriter(w io.Writer, ws *websocket.Conn) *CapturingPassThroughWriter
NewCapturingPassThroughWriter creates new CapturingPassThroughWriter
func (*CapturingPassThroughWriter) Bytes ¶
func (w *CapturingPassThroughWriter) Bytes() []byte
Bytes returns bytes written to the writer
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server this is a web server
func (*Server) Log ¶
func (s *Server) Log(messages ...interface{})
Log will log any messages to the attached logger instance
Source Files ¶
- errorHTML.go
- handleCreate.go
- handleCreateForm.go
- handleCreateSkeleton.go
- handleCreateSkeletonForm.go
- handleDisableSite.go
- handleEnableSite.go
- handleIndex.go
- handleLockSite.go
- handleLogin.go
- handleSiteDetails.go
- handleSiteStats.go
- handleSites.go
- handleStats.go
- handleUnlockSite.go
- handleWebSocket.go
- loadSites.go
- middleware_auth.go
- parseVarsFromView.go
- routes.go
- scriptRunner.go
- server.go
- verifyHostType.go
- view.go
Click to show internal directories.
Click to hide internal directories.