Documentation
¶
Index ¶
Constants ¶
View Source
const (
SIGNAL_CLI_DBUS_SERVICE = "org.asamk.Signal"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Signal ¶
type Signal struct {
Messages chan *Message
}
func (*Signal) Listen ¶
func (s *Signal) Listen()
Listen() establishes a connection to the DBus service and listens for incoming Signal messages.
func (*Signal) SendMessage ¶
SendMessage() uses the signal-cli command in dbus mode. This is due to the method org.asamk.Signal.sendMessage not working as expected when called using dbus.Object.Call(). TODO: further investigate using org.asamk.Signal.sendMessage method.
Click to show internal directories.
Click to hide internal directories.