help

package
v0.0.0-...-4059e7f Latest Latest
Warning

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

Go to latest
Published: May 27, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package help allows Jarvis to have help functionality

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() ([]string, api.Command)

Types

type Help

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

func (*Help) Execute

func (h *Help) Execute(ctx appengine.Context, command *api.SlackCommand, myCommand string) (string, error)

func (*Help) Help

func (h *Help) Help(ctx appengine.Context, command *api.SlackCommand, myCommand string) (string, error)

func (*Help) Initialize

func (h *Help) Initialize(keys map[string]string)

func (*Help) RegisterCommandHelp

func (h *Help) RegisterCommandHelp(command string, handler api.Command)

func (*Help) Usage

func (h *Help) Usage(ctx appengine.Context, command *api.SlackCommand, myCommand string) string

Jump to

Keyboard shortcuts

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