irc

package
v0.0.0-...-f982e89 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Nick string
	User string
	Host string
}

func (Client) String

func (c Client) String() string

type Message

type Message struct {
	Tags    map[string]string
	Prefix  Prefix
	Command string
	Params  []string
}

func NewMessage

func NewMessage(command string, params ...string) (Message, error)

func ParseMessage

func ParseMessage(line string) (Message, error)

func (Message) String

func (m Message) String() string

type Prefix

type Prefix interface {
	String() string
	// contains filtered or unexported methods
}

type Server

type Server string

func (Server) String

func (s Server) String() string

Jump to

Keyboard shortcuts

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