Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ControlCharacter defines the end of socket communication. ControlCharacter byte = '\a' // ControlCharacterString defines the end of socket communication. ControlCharacterString = "\a" )
Variables ¶
View Source
var SignalReload = Signal("reload")
SignalReload is the event for reloading all the Baito.
Functions ¶
This section is empty.
Types ¶
type Socket ¶ added in v0.1.2
type Socket struct {
// contains filtered or unexported fields
}
A Socket is used to send and receive signals through socket.