seabird_irc

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 16 Imported by: 0

README

seabird-irc-backend

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	// contains filtered or unexported fields
}

func New

func New(config IRCConfig) (*Backend, error)

func (*Backend) Run

func (b *Backend) Run() error

type CTCPMessage

type CTCPMessage struct {
	Action string
	Text   string
}

type IRCConfig

type IRCConfig struct {
	IRCHost           string
	IRCID             string
	Nick              string
	User              string
	Name              string
	Pass              string
	Debug             bool
	NickServPass      string
	CommandPrefix     string
	Channels          []string
	NickCheckDuration time.Duration

	Logger zerolog.Logger

	SeabirdHost  string
	SeabirdToken string
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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