replies

package
v0.0.0-...-a211759 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: ISC Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CAP_ACK

func CAP_ACK(w Writer, acked []string) error

func CAP_LIST

func CAP_LIST(w Writer, enabled []string) error

func CAP_LS

func CAP_LS(w Writer, supported []string) error

func ERR_NOMOTD

func ERR_NOMOTD(w Writer) error

func JOIN

func JOIN(w Writer, prefix *irc.Prefix, channel string) error

func NICK

func NICK(w Writer, prefix *irc.Prefix, name string) error

func NOTICE

func NOTICE(w Writer, prefix *irc.Prefix, channel, message string) error

func PONG

func PONG(w Writer, param string) error

func PRIVMSG

func PRIVMSG(w Writer, t time.Time, prefix *irc.Prefix, channel, message string) error

func RPL_CREATED

func RPL_CREATED(w Writer, t time.Time) error

func RPL_CREATIONTIME

func RPL_CREATIONTIME(w Writer, channel string, t time.Time) error

func RPL_ENDOFMOTD

func RPL_ENDOFMOTD(w Writer) error

func RPL_ENDOFNAMES

func RPL_ENDOFNAMES(w Writer, channel string) error

func RPL_ENDOFWHOIS

func RPL_ENDOFWHOIS(w Writer, user string) error

func RPL_LIST

func RPL_LIST(w Writer, channel string, visible int, topic string) error

func RPL_LISTEND

func RPL_LISTEND(w Writer) error

func RPL_LISTSTART

func RPL_LISTSTART(w Writer) error

func RPL_MOTD

func RPL_MOTD(w Writer, line string) error

func RPL_MOTDSTART

func RPL_MOTDSTART(w Writer, serverName string) error

func RPL_NAMREPLY

func RPL_NAMREPLY(w Writer, channel string, name string) error

func RPL_NOTOPIC

func RPL_NOTOPIC(w Writer, channel string) error

func RPL_TOPIC

func RPL_TOPIC(w Writer, channel, topic string) error

func RPL_WELCOME

func RPL_WELCOME(w Writer, towhat string) error

func RPL_WHOISCHANNELS

func RPL_WHOISCHANNELS(w Writer, user string, channels []string) error

func RPL_WHOISIDLE

func RPL_WHOISIDLE(w Writer, user string, lastActive time.Time) error

func RPL_WHOISOPERATOR

func RPL_WHOISOPERATOR(w Writer, user string) error

func RPL_WHOISSERVER

func RPL_WHOISSERVER(w Writer, user, server, serverInfo string) error

func RPL_WHOISUSER

func RPL_WHOISUSER(w Writer, prefix *irc.Prefix, realname string) error

func RPL_YOURHOST

func RPL_YOURHOST(w Writer, serverName, serverVersion string) error

Types

type Writer

type Writer interface {
	HasCapability(string) bool
	ClientPrefix() *irc.Prefix
	ServerPrefix() *irc.Prefix
	WriteMessage(*irc.Message) error
}

Jump to

Keyboard shortcuts

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