-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge PR #2441: Add swagger-ui for key management
- Loading branch information
Showing
13 changed files
with
497 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package keys | ||
|
||
import "fmt" | ||
|
||
func errKeyNameConflict(name string) error { | ||
return fmt.Errorf("acount with name %s already exists", name) | ||
} | ||
|
||
func errMissingName() error { | ||
return fmt.Errorf("you have to specify a name for the locally stored account") | ||
} | ||
|
||
func errMissingPassword() error { | ||
return fmt.Errorf("you have to specify a password for the locally stored account") | ||
} | ||
|
||
func errMissingSeed() error { | ||
return fmt.Errorf("you have to specify seed for key recover") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.