Documentation ¶
Overview ¶
Package standard contains interfaces for well-defined standards and function for checking if arbitrary manifest complies with them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMethodMissing = errors.New("method missing") ErrEventMissing = errors.New("event missing") ErrInvalidReturnType = errors.New("invalid return type") ErrInvalidParameterCount = errors.New("invalid parameter count") ErrInvalidParameterType = errors.New("invalid parameter type") ErrSafeMethodMismatch = errors.New("method has wrong safe flag") )
Various validation errors.
Functions ¶
func Check ¶
Check checks if manifest complies with all provided standards. Currently only NEP-17 is supported.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.