Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppleScriptSender ¶
type AppleScriptSender struct {
// contains filtered or unexported fields
}
func NewAppleScriptSender ¶
func NewAppleScriptSender() *AppleScriptSender
func (*AppleScriptSender) Send ¶
func (s *AppleScriptSender) Send(ctx context.Context, target SendTarget, text string) error
type ErrorKind ¶
type ErrorKind string
const ( ErrorInvalidTarget ErrorKind = "invalid_target" ErrorEmptyMessage ErrorKind = "empty_message" ErrorUnsupported ErrorKind = "unsupported_target" ErrorPermission ErrorKind = "automation_permission" ErrorRecipient ErrorKind = "recipient_unavailable" ErrorNotFound ErrorKind = "chat_not_found" ErrorTimeout ErrorKind = "timeout" ErrorScript ErrorKind = "script_error" ErrorProcess ErrorKind = "process_error" )
type SendTarget ¶
Click to show internal directories.
Click to hide internal directories.