Documentation
¶
Index ¶
- func SendJSONMessage(ctx context.Context, conn *websocket.Conn, v interface{}) error
- type Message
- type Server
- func (s *Server) AddCommand(id string, cmd command.Command)
- func (s *Server) AddTerminal(id string, t terminal.TTY)
- func (s *Server) GetCommand(id string) (command.Command, bool)
- func (s *Server) GetTerminal(id string) (terminal.TTY, bool)
- func (s *Server) RemoveCommand(id string)
- func (s *Server) RemoveTerminal(id string)
- func (s *Server) Start(addr string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) RemoveCommand ¶
func (*Server) RemoveTerminal ¶
Click to show internal directories.
Click to hide internal directories.