Documentation ¶
Index ¶
Constants ¶
View Source
const ( ContextPropertyKey = "property" ContextButtonValueKey = "button_value" ContextOptionValueKey = "selected_option" ContextStepKey = "step" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Step ¶
type Step interface { PostSlackAttachment(flowHandler string, i int) *model.SlackAttachment ResponseSlackAttachment(value interface{}) *model.SlackAttachment GetPropertyName() string ShouldSkip(value interface{}) int IsEmpty() bool GetFreetextFetcher() freetextfetcher.FreetextFetcher }
func NewEmptyStep ¶
func NewFreetextStep ¶
func NewFreetextStep( title, message, propertyName, baseURL string, store freetextfetcher.FreetextStore, validate func(string) string, r *mux.Router, p poster.Poster, ) Step
func NewSimpleStep ¶
Click to show internal directories.
Click to hide internal directories.