bot

package
v0.0.0-...-9ae07c8 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: AGPL-3.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Debug int

Functions

func NewLocalClient

func NewLocalClient(conn net.Conn, address string, username string, password string, points int, variant int8, quiet bool, thinkTime time.Duration)

func TabulaBoard

func TabulaBoard(b []int8) tabula.Board

Types

type Client

type Client struct {
	Address  string
	Username string
	Password string
	Events   chan interface{}
	Out      chan []byte
	// contains filtered or unexported fields
}

func NewClient

func NewClient(address string, username string, password string, points int, variant int8, quiet bool, thinkTime time.Duration) *Client

func (*Client) Connect

func (c *Client) Connect()

func (*Client) HandleEvents

func (c *Client) HandleEvents()

func (*Client) LoggedIn

func (c *Client) LoggedIn() bool

Jump to

Keyboard shortcuts

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