wrangler

package
v0.30.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package wrangler keeps track of the running bot and handles the activating and termination of running bots.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bots

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

Bots keeps track of the running bot and handles loading and termination.

func NewBots

func NewBots(input bots.Input, tv bots.TV) *Bots

NewBots is the preferred method of initialisation for the Bots type.

func (*Bots) ActivateBot

func (b *Bots) ActivateBot(cartHash string) (*bots.Feedback, error)

ActivateBot uses the cartridge hash value to and loads any available bot.

func (*Bots) Quit

func (b *Bots) Quit()

Quit stops execution of running bots.

Jump to

Keyboard shortcuts

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