kitakunoki

package
v0.0.0-...-3d8a0e0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

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

Plugin は帰宅を促します。

func New

func New() *Plugin

New でプラグインを生成します。

func (*Plugin) Help

func (p *Plugin) Help() string

Help でヘルプメッセージを返します。

func (*Plugin) Serve

func (p *Plugin) Serve(_ context.Context, _ slack.RTMEvent) error

Serve はとくに何もしません。

func (*Plugin) Start

func (p *Plugin) Start(client *slack.Client) error

Start でプラグインを有効化します。

func (*Plugin) Stop

func (p *Plugin) Stop() error

Stop はとくになにもしません。

Jump to

Keyboard shortcuts

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