internal

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RejectionFn

type RejectionFn func(*strfrui.Input) *strfrui.Result
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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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