initial commit

This commit is contained in:
Jae Kwon
2015-11-02 07:39:53 -08:00
commit 0bd4061cf6
9 changed files with 674 additions and 0 deletions

12
types/retcode.go Normal file
View File

@ -0,0 +1,12 @@
package types
type RetCode int
// Reserved return codes
const (
RetCodeOK = RetCode(0)
RetCodeInternalError = RetCode(1)
RetCodeUnauthorized = RetCode(2)
RetCodeInsufficientFees = RetCode(3)
RetCodeUnknownRequest = RetCode(4)
)