Documentation
¶
Index ¶
- Constants
- func ValidateArgCount(c *cli.Context, expectedCount int) error
- 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 ¶
Validate command argument count
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.