random

package
v0.0.0-...-1b34132 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessMessage

func ProcessMessage(ctx *appcontext.AppContext, payload modelcommand.Payload) modelcommand.Result

Types

type Number

type Number struct {
	Arguments  map[string]string
	Parameters *NumberParameters
}

func (*Number) Process

func (c *Number) Process(ctx *appcontext.AppContext) string

type NumberParameters

type NumberParameters struct {
	Format string
	Min    int
	Max    int
	Count  int
	Unique bool
}

type String

type String struct {
	Arguments map[string]string
}

func (String) Process

func (c String) Process(ctx *appcontext.AppContext) string

Jump to

Keyboard shortcuts

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