Documentation ¶
Index ¶
Constants ¶
View Source
const MagicString = "i3-ipc"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Socket ¶
type Socket struct {
// contains filtered or unexported fields
}
func NewSocket ¶
func NewSocket(conn io.ReadWriter) *Socket
type ValueSocket ¶
type ValueSocket struct {
// contains filtered or unexported fields
}
func NewValueSocket ¶
func NewValueSocket(conn io.ReadWriter) *ValueSocket
func (*ValueSocket) Read ¶
func (v *ValueSocket) Read(val interface{}) (uint32, error)
func (*ValueSocket) Write ¶
func (v *ValueSocket) Write(messageType uint32, val interface{}) error
Click to show internal directories.
Click to hide internal directories.