botmd

package
v0.10.1 Latest Latest
Warning

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

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

Documentation

Overview

Package botmd provides the bot server. Here botmd=cmd not markdown. nolint: forcetypeassert, mnd, cyclop

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 represents the bot server.

func NewBot

func NewBot(handler metrics.Handler, cfg config.Config) *Bot

NewBot creates a new bot server.

func (*Bot) Start

func (b *Bot) Start(ctx context.Context) error

Start starts the bot server. nolint: wrapcheck

Jump to

Keyboard shortcuts

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