discord

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2021 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discord

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

Discord handles a discord service.

func New

func New(ctx context.Context, store *storage.Storage, pool pooling.Pool) *Discord

New returns a Discord struct.

func (*Discord) Serve

func (d *Discord) Serve() (err error)

Serve loop request message from the Discord api server. Serve always returns an error.

Jump to

Keyboard shortcuts

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