Documentation
¶
Overview ¶
Package validate provides input validation functions for the obol CLI. Each function returns nil on success or a descriptive error.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NoControlChars ¶
NoControlChars rejects strings containing control characters (except \n and \t).
func WalletAddress ¶
WalletAddress validates an Ethereum wallet address (0x-prefixed, 42 hex chars).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.