bot

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatsAgentID  = "stats_agent"
	ReviewAgentID = "review_agent"
)
View Source
const ApiURI = "http://localhost:8765"
View Source
const ApiVersion = 6
View Source
const (
	ImportAgentId = "import_agent"
)

Variables

This section is empty.

Functions

func AnkiReview

func AnkiReview(c *client.Flowbot)

func AnkiStats

func AnkiStats(c *client.Flowbot)

func DevImport

func DevImport(c *client.Flowbot)

Types

type Param

type Param struct {
	Action  string `json:"action"`
	Version int    `json:"version"`
	Params  any    `json:"params,omitempty"`
}

type Response

type Response struct {
	Error  *string         `json:"error"`
	Result json.RawMessage `json:"result"`
}

Jump to

Keyboard shortcuts

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