Documentation ¶
Index ¶
Constants ¶
View Source
const WS_CLOSED = "WS_CLOSED"
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(handle_command CommandHandler, progress_chan chan string)
func OpenWebsocket ¶
func PrintResults ¶
PrintResults prints the results to the console
Types ¶
type CommandHandler ¶
type Status ¶
type Status int
func (Status) MarshalJSON ¶
MarshalJSON must be a *value receiver* to ensure that a Suit on a parent object does not have to be a pointer in order to have it correctly marshaled.
func (*Status) UnmarshalJSON ¶
UnmarshalJSON must be a *pointer receiver* to ensure that the indirect from the parsed value can be set on the unmarshaling object. This means that the ParseSuit function must return a *value* and not a pointer.
Click to show internal directories.
Click to hide internal directories.