bridge

package
v0.0.0-...-620836d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Discord

func Discord(ctx Context) error

func IRC

func IRC(ctx Context) error

Types

type Context

type Context struct {
	DiscordToken        string
	IRCServer           string
	DiscordChannel      string
	DiscordMessages     chan Message
	DiscordWebhookId    string
	DiscordWebhookToken string
	IRCMessages         chan Message
	IRCNickname         string
	IRCChannel          string
}

type Message

type Message struct {
	Author  string
	Content string
}

Jump to

Keyboard shortcuts

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