monitor

package
v0.0.0-...-1b34132 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessMessage

func ProcessMessage(ctx *appcontext.AppContext, payload modelcommand.Payload) modelcommand.Result

Types

type Check

type Check struct {
	Arguments map[string]string
}

func (Check) Process

func (c Check) Process(ctx *appcontext.AppContext) (*modelresponse.Check, error)

type List

type List struct {
	Arguments  map[string]string
	Platform   string
	ChatID     string
	Parameters *ListParameters
	User       modelcommand.User
}

func (*List) Process

func (c *List) Process(ctx *appcontext.AppContext) (string, error)

type ListParameters

type ListParameters struct {
	Type    string
	Keyword string
	Page    int64
}

type Register

type Register struct {
	Arguments map[string]string
	Platform  string
	ChatID    string
	User      modelcommand.User
}

func (Register) Process

func (c Register) Process(ctx *appcontext.AppContext) (string, error)

type Remove

type Remove struct {
	Arguments map[string]string
	Platform  string
	ChatID    string
	User      modelcommand.User
}

func (Remove) Process

func (c Remove) Process(ctx *appcontext.AppContext) (string, error)

type Stats

type Stats struct {
	Arguments map[string]string
	Platform  string
	ChatID    string
	User      modelcommand.User
}

func (Stats) Process

func (c Stats) Process(ctx *appcontext.AppContext) (*modelresponse.Stats, error)

Jump to

Keyboard shortcuts

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