chatbot

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatBot

type ChatBot struct {
	Cfg config.ChatBot
	// contains filtered or unexported fields
}

func NewChatBot

func NewChatBot(ctx context.Context, streamUrl string, cfg config.ChatBot, logError *log.Logger) (*ChatBot, error)

func (*ChatBot) Login

func (cb *ChatBot) Login(username string, password string) error

func (*ChatBot) Logout

func (cb *ChatBot) Logout() error

func (*ChatBot) StartMessage

func (cb *ChatBot) StartMessage(id string) error

func (*ChatBot) StopAllMessages

func (cb *ChatBot) StopAllMessages() error

func (*ChatBot) StopMessage

func (cb *ChatBot) StopMessage(id string) error

Jump to

Keyboard shortcuts

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