package
0.0.0-20230307095339-03ee383c5cd9
Repository: https://github.com/gridiron-zone/huddle.git
Documentation: pkg.go.dev
# Functions
GenerateRandomAttachment generates a random attachment.
GenerateRandomAttachmentContent returns a randomly generated attachment content.
GenerateRandomMedia returns a randomly generated media content.
GenerateRandomPoll returns a randomly generated poll content.
GenerateRandomPost generates a random post.
GenerateRandomTags returns a slice containing tagsNumber randomly generated tags.
GenerateRandomText returns a random text that does not exceed the given max length.
NewDecodeStore returns a new decoder that unmarshals the KVPair's Value to the corresponding subspaces type.
No description provided by the author
RandomAnswersIndexes returns a random answers indexes slice based on the given poll.
RandomAttachment returns a random attachment from the ones given.
RandomizeGenState generates a random GenesisState for posts.
RandomMaxTextLength returns a random max text length in the [30, 999] range.
RandomPost returns a random post from the slice given.
RandomReplySettings returns a random valid ReplySetting for the post.
SimulateMsgAddPostAttachment tests and runs a single msg add post attachment.
SimulateMsgAnswerPoll tests and runs a single msg answer poll post.
SimulateMsgCreatePost tests and runs a single msg create post.
SimulateMsgDeletePost tests and runs a single msg delete post.
SimulateMsgEditPost tests and runs a single msg edit post.
SimulateMsgRemovePostAttachment tests and runs a single msg remove post attachment.
WeightedOperations returns all the operations from the module with their respective weights.
# Constants
Simulation operation weights constantsnolint:gosec // These are not hardcoded credentials.
Simulation operation weights constantsnolint:gosec // These are not hardcoded credentials.
Simulation operation weights constantsnolint:gosec // These are not hardcoded credentials.
Simulation operation weights constantsnolint:gosec // These are not hardcoded credentials.
Simulation operation weights constantsnolint:gosec // These are not hardcoded credentials.
Simulation operation weights constantsnolint:gosec // These are not hardcoded credentials.
Simulation operation weights constantsnolint:gosec // These are not hardcoded credentials.