parser

package
v0.0.0-...-92fb79e Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2016 License: MIT Imports: 3 Imported by: 1

Documentation

Overview

IRC Protocol message marshaller and unmarshaller. refer to http://tools.ietf.org/html/rfc1459#section-2.3.1 for information on the format of protocol messages TODO(mischief): add IRCv3.2 tags as per http://ircv3.org/specification/message-tags-3.2

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Prefix  string
	Command string
	Args    []string
}

func (*Message) MarshalText

func (m *Message) MarshalText() (text []byte, err error)

func (Message) String

func (m Message) String() string

func (*Message) UnmarshalText

func (m *Message) UnmarshalText(b []byte) error

Jump to

Keyboard shortcuts

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