Documentation ¶
Index ¶
- Constants
- func ValidateArgCount(c *cli.Context, expectedCount int)
- func ValidateBurnableTokenType(name, value string) (string, error)
- func ValidateDaoMemberID(name, value string) (string, error)
- func ValidateProposalType(name, value string) (string, error)
- func ValidateTokenType(name, value string) (string, error)
- func ValidateVoteDirection(name, value string) (types.VoteDirection, error)
Constants ¶
View Source
const ( MinDaoMemberIDLength int = 3 MinPasswordLength int = 12 )
Config
Variables ¶
This section is empty.
Functions ¶
func ValidateArgCount ¶
func ValidateArgCount(c *cli.Context, expectedCount int)
Validate command argument count - only used by the CLI TODO: refactor CLI arg validation and move it out of shared
func ValidateBurnableTokenType ¶
Validate a burnable token type
func ValidateDaoMemberID ¶
Validate a DAO member ID
func ValidateProposalType ¶
Validate a proposal type
func ValidateTokenType ¶
Validate a token type
func ValidateVoteDirection ¶
func ValidateVoteDirection(name, value string) (types.VoteDirection, error)
Validate a vote direction
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.