Documentation ¶
Overview ¶
Package sessionutil contains utility methods required to start session.
Package sessionutil provides utility for sessions.
Package sessionutil provides utility for sessions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SignalsByteMap = map[os.Signal]byte{ syscall.SIGINT: '\003', syscall.SIGQUIT: '\x1c', syscall.SIGTSTP: '\032', }
All the signals to handles interrupt SIGINT captures Ctrl+C SIGQUIT captures Ctrl+\ SIGTSTP captures Ctrl+Z
Functions ¶
Types ¶
type DisplayMode ¶
type DisplayMode struct { }
func NewDisplayMode ¶
func NewDisplayMode(log log.T) DisplayMode
func (*DisplayMode) DisplayMessage ¶
func (d *DisplayMode) DisplayMessage(log log.T, message message.ClientMessage)
DisplayMessage function displays the output on the screen
func (*DisplayMode) InitDisplayMode ¶
func (d *DisplayMode) InitDisplayMode(log log.T)
Click to show internal directories.
Click to hide internal directories.