steps

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmptyStep

type EmptyStep struct {
	Title   string
	Message string
}

func (*EmptyStep) GetPropertyName

func (s *EmptyStep) GetPropertyName() string

func (*EmptyStep) IsEmpty

func (s *EmptyStep) IsEmpty() bool

func (*EmptyStep) PostSlackAttachment

func (s *EmptyStep) PostSlackAttachment(flowHandler string, i int) *model.SlackAttachment

func (*EmptyStep) ResponseSlackAttachment

func (s *EmptyStep) ResponseSlackAttachment(value bool) *model.SlackAttachment

func (*EmptyStep) ShouldSkip

func (s *EmptyStep) ShouldSkip(value bool) int

type Step

type Step interface {
	PostSlackAttachment(flowHandler string, i int) *model.SlackAttachment
	ResponseSlackAttachment(value bool) *model.SlackAttachment
	GetPropertyName() string
	ShouldSkip(value bool) int
	IsEmpty() bool
}

Jump to

Keyboard shortcuts

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