types

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arguments

type Arguments map[string]interface{}

type Command

type Command struct {
	Keyword     string
	Description string
	Params      []Parameter
}

type OutgoingSlackMessage

type OutgoingSlackMessage struct {
	Channel   string
	UserEmail string
	Message   string
}

type Parameter

type Parameter struct {
	Keyword     string
	Description string
	Type        ParameterType
}

type ParameterType

type ParameterType string
const (
	Before ParameterType = "before"
	After  ParameterType = "after"
	Flag   ParameterType = "flag"
)

type ParsedCommand

type ParsedCommand struct {
	Channel   string
	Command   string
	Arguments Arguments
}

Jump to

Keyboard shortcuts

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