bot

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bot

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

Bot contains functions for bot.

func New

func New(service service.Service) *Bot

New to create new bot.

func (*Bot) AddHandler

func (b *Bot) AddHandler(nrApp *newrelic.Application)

AddHandler to add handlers.

func (*Bot) Run

func (b *Bot) Run() error

Run to run bot.

func (*Bot) Stop

func (b *Bot) Stop() error

Stop to stop bot.

Jump to

Keyboard shortcuts

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