Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Seed ¶
type Seed struct {
// contains filtered or unexported fields
}
Seed is represents anything that starts and Ends
func (*Seed) Chance ¶
Chance is an idempotent call based on a time and a prospect in the range (1, 0) it will return true if the result of a fast hash of the time is above a certain percentage (chance) of possible hash values
func (*Seed) Option ¶
Option is an idempotent call based on a time and a number of options If the result of a fast hash of the time is within a certain option-range of possible hash values, it will return that option
func (*Seed) RandDuration ¶
RandDuration is an idempotent call based on a time and a range of durations it will return a random duration from within that range
Click to show internal directories.
Click to hide internal directories.