Documentation ¶
Index ¶
- Variables
- func BytesToUint64(v []byte) (uint64, error)
- func CallBack(err error)
- func CheckBigInt(num string) (types.Coin, error)
- func CheckBool(async string) (bool, error)
- func CheckFabric(isFabric string) (bool, error)
- func CheckInt64(num string) (int64, error)
- func CheckJsonArgs(str string, param interface{}) (bool, error)
- func CheckRequiredFlag(cmd *cobra.Command, names ...string)
- func CheckStringLength(min, max int, str string) error
- func CheckUint64(num string) (uint64, error)
- func Discovery(f func(err error)) string
- func ParsePubKey(pub string) (crypto.PubKey, error)
- func SetEnvToViper(vp *viper.Viper, key string) []string
- func SetLimit(limit int)
- func Setup(id int64)
- func SetupRegisterCenter(f func(err error, lg log.Logger))
- func TrapSignal(cleanupFunc func())
- func TxHash(b []byte) []byte
- func Uint64ToBytes(u uint64) []byte
Constants ¶
This section is empty.
Variables ¶
View Source
var CHAINID int64
View Source
var IteratorLimit int
Functions ¶
func BytesToUint64 ¶
func CheckFabric ¶
func CheckInt64 ¶
func CheckJsonArgs ¶
func CheckRequiredFlag ¶
func CheckStringLength ¶
func CheckUint64 ¶
func SetupRegisterCenter ¶
func TrapSignal ¶
func TrapSignal(cleanupFunc func())
TrapSignal traps SIGINT and SIGTERM and terminates the server correctly.
func Uint64ToBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.