botmd

package
v1.43.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 35 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) (err 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