command

package
v0.0.0-...-259c52a Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandOpts

type CommandOpts struct {
	Bot *linebot.Client
}

type LineCommand

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

func NewLineCommand

func NewLineCommand(o CommandOpts) *LineCommand

func (*LineCommand) LoadHandlers

func (c *LineCommand) LoadHandlers()

func (LineCommand) Search

func (c LineCommand) Search(ctx context.Context, event *linebot.Event, args []string)

type LineWebhookRequest

type LineWebhookRequest struct {
	Destination string           `json:"destination"`
	Events      []*linebot.Event `json:"events"`
}

Jump to

Keyboard shortcuts

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