Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Socket ¶
type Socket struct { Conn net.Conn Listener *net.UnixListener Data chan interface{} Done chan bool // contains filtered or unexported fields }
func CreateClient ¶ added in v0.4.3
func CreateClient() *Socket
ConnectSocket is used by the client to connect to the socket the server created for two-way communication
func CreateServer ¶ added in v0.4.3
CreateServer is used by the server command to create a new socket for communication between server and client
func (*Socket) PauseServer ¶ added in v0.4.2
func (s *Socket) PauseServer()
PauseServer sends a state message to indicate the server should pause tracking key presses
func (*Socket) ResumeServer ¶ added in v0.4.2
func (s *Socket) ResumeServer()
ResumeServer sends a state message to indicate the server should resume tracking key presses
Click to show internal directories.
Click to hide internal directories.