bot

package
v0.0.0-...-7f44f1c Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2018 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentCase

type AgentCase struct {
	Bot
	// contains filtered or unexported fields
}

func NewAgentCase

func NewAgentCase() *AgentCase

func (*AgentCase) Greeting

func (a *AgentCase) Greeting() string

func (*AgentCase) Name

func (a *AgentCase) Name() string

func (*AgentCase) Reply

func (a *AgentCase) Reply(query string) string

func (*AgentCase) SetName

func (a *AgentCase) SetName(name string)

func (*AgentCase) SetThumbnailPath

func (a *AgentCase) SetThumbnailPath(thumbnailPath string)

func (*AgentCase) SetTitle

func (a *AgentCase) SetTitle(title string)

func (*AgentCase) ThumbnailPath

func (a *AgentCase) ThumbnailPath() string

func (*AgentCase) Title

func (a *AgentCase) Title() string

type Bot

type Bot interface {
	Greeting() string
	Reply(string) string
	Name() string
	Title() string
	ThumbnailPath() string
	SetName(string)
	SetTitle(string)
	SetThumbnailPath(string)
}

Jump to

Keyboard shortcuts

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