irc

package
v0.0.0-...-96203fc Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2014 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(conf config.Config, server string, serverToClient chan []byte)

Types

type Connection

type Connection struct {
	// User information
	Nick string
	User string

	// Server information
	Server string
	Socket net.Conn

	// Events
	Events []Event
}

func (*Connection) Connect

func (conn *Connection) Connect(c chan []byte)

func (*Connection) JoinChan

func (conn *Connection) JoinChan(channel string)

func (*Connection) Listen

func (conn *Connection) Listen(c chan []byte)

func (*Connection) SetNick

func (conn *Connection) SetNick()

type Event

type Event struct {
	Code    string
	Message string
}

Jump to

Keyboard shortcuts

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