listener

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTelnet

func GetTelnet() (conn *telnet.Conn)

GetTelnet returns the telnet connection

func ListenToDiscord

func ListenToDiscord(config *eqemuconfig.Config, disc *discord.Discord) (err error)

ListenToDiscord listens for discord messages

func ListenToOOC

func ListenToOOC(eqconfig *eqemuconfig.Config, disco *discord.Discord)

ListenToOOC listens to telnet for OOC messages

func Sendln

func Sendln(s string) (err error)

Sendln sends a message to telnet

Types

This section is empty.

Jump to

Keyboard shortcuts

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