responses

package
v0.0.0-...-fe3a24c Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Content

type Content struct {
	Stop             Response "stop"
	PollingLocation  Response "pollingLocation"
	DropOffLocation  Response "dropOffLocation"
	ElectionOfficial Response "electionOfficial"
	ChangeLanguage   Response "changeLanguage"
	Registration     Response "registration"
	Elo              Response "elo"
	Help             Response "help"
	About            Response "about"
	Intro            Response "intro"
	LastContact      Response "lastContact"
	Errors           Response "errors"
}

func Load

func Load(raw []byte) (*Content, map[string]map[string]string)

type Response

type Response struct {
	Text     map[string]map[string]string "text"
	Triggers map[string][]string          "triggers"
}

Jump to

Keyboard shortcuts

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