bot

package
v0.0.0-...-aab178e Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasicDecision

func BasicDecision(s *session.Session, follows int, likes int, intervals int, done chan bool)

func IntelligentDecision

func IntelligentDecision(s *session.Session, follows int, likes int, intervals int, done chan bool)

func Learn

func Learn(s *session.Session) string

Might be worth putting a defer in here incase a job breaks I.E to Clean up is processing

func NewHandler

func NewHandler(path string, handle func(http.ResponseWriter, *http.Request, *session.Session))

Constructor

func StatusBar

func StatusBar(s *session.Session, title string) (bar string)

Build a little status bar for debug and ./toolbelt -l purposes

Types

type Handler

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

Handler just to hold everything together

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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