messy

package module
v0.0.0-...-3cda38e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2017 License: GPL-2.0 Imports: 3 Imported by: 0

README

Messy

Messy is a tool used to send XMPP messages from the command line. This can be used in a script or cron for notifications or to just shoot off a quick message.

Usage

Example : messy -server foo.bar:5222 -username testytesterton@foo.bar -password supersecrettest -remote receiver@foo.bar -message "Super useful notification message!"

Flags


-server: Server and port to connect to. Ex. foo.bar:5222

-username: The JID to connect as. Ex. test@testy.net

-password: The password for the account.

-remote: The JID of the user to be sent the message.

-message The message to send. Omitting this flag will cause messy to read from stdin.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDefaultConfig

func CreateDefaultConfig() bool

Types

type Config

type Config struct {
	Server        string
	Username      string
	Password      string
	Remote        string
	Status        string
	StatusMessage string
	NoTLS         bool
	StartTLS      bool
	DebugMode     bool
	Session       bool
}

func ReadConfig

func ReadConfig(location string) Config

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL