bot

package
v0.0.0-...-09a68ad Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Catalyst

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

func NewCatalyst

func NewCatalyst(conf config.Bot, messageRepo repo.MessageRepository, userRepo repo.UserRepository, schedRepo repo.ScheduleRepository) (*Catalyst, error)

func (*Catalyst) MessageHandler

func (c *Catalyst) MessageHandler(w http.ResponseWriter, r *http.Request)

type RemindAddCmd

type RemindAddCmd struct {
	Name    string `names:"-n, --name"`
	Cron    string `names:"-s, --schedule"`
	Message string `names:"-m, --message"`
}

Jump to

Keyboard shortcuts

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