bot

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

type Admin interface {
	IsUserAdmin(mattermostUserID string) bool
	DMAdmins(format string, args ...interface{}) error
}

func NewAdmin

func NewAdmin(adminUserIDs string, p poster.Poster) Admin

type Bot

type Bot interface {
	Ensure(stored *model.Bot, iconPath string) error
	MattermostUserID() string
	String() string
}

func New

func New(helpers plugin.Helpers) Bot

Directories

Path Synopsis
Package mock_bot is a generated GoMock package.
Package mock_bot is a generated GoMock package.

Jump to

Keyboard shortcuts

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