conn

package
v0.0.0-...-8c31608 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IRC

type IRC struct {
	Conn net.Conn
	Ctx  *internal.Context
	TP   *textproto.Reader
	Msg  chan string
}

func NewIRC

func NewIRC(ctx *internal.Context) *IRC

func (*IRC) Close

func (i *IRC) Close()

Close ends IRC connection

func (*IRC) Listen

func (i *IRC) Listen()

Listen start listen IRC channel, and if it disconnects, it will try to reconnect 3 times

Jump to

Keyboard shortcuts

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