Namespace org.wasmcloud.interface.numbergen
GenerateGuid(operation)
GenerateGuid - return a 128-bit guid in the form 123e4567-e89b-12d3-a456-426655440000 These guids are known as "version 4", meaning all bits are random or pseudo-random.
output: | String |
NumberGen(service)
Operations
Random32(operation)
Request a 32-bit random number
output: | org.wasmcloud.model#U32 |
RandomInRange(operation)
Request a random integer within a range The result will will be in the range [min,max), i.e., >= min and < max.
input: | RangeLimit | |
output: | org.wasmcloud.model#U32 |
RangeLimit(structure)
Input range for RandomInRange, inclusive. Result will be >= min and <= max Example: random_in_range(RangeLimit{0,4}) returns one the values, 0, 1, 2, 3, or 4.