Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RejectionFn ¶
var ShadowReject RejectionFn = func(input *strfrui.Input) *strfrui.Result { return &strfrui.Result{ ID: input.Event.ID, Action: strfrui.ActionShadowReject, } }
ShadowReject is a RejectionFn that rejects the input without any message.
func RejectWithMsg ¶
func RejectWithMsg(msg string) RejectionFn
func RejectWithMsgFromInput ¶
func RejectWithMsgFromInput(getMsg func(*strfrui.Input) string) RejectionFn
Click to show internal directories.
Click to hide internal directories.