Versions in this module Expand all Collapse all v1 v1.0.1 Aug 13, 2020 Changes in this version + func GetAddr(port int) string + func GetConfigPath(envVar, defaultValue string) string + func ReadOffset(r FileStorage) (uint64, error) + func ReadRsa(base64Rsa string) (*rsa.PrivateKey, error) + func ReadWIF(filename string) string + func Retry(f func() error, n int, retryDelay time.Duration) error + func RetryWithTimeout(f func() error, n int, timeout time.Duration, retryDelay time.Duration) error + func RsaSign(digest eos.Checksum256, key *rsa.PrivateKey) (string, error) + func WithTimeout(f func() error, timeout time.Duration) error + func WriteOffset(w FileStorage, offset uint64) error + type FileStorage interface + Read func(p []byte) (n int, err error) + Seek func(offset int64, whence int) (ret int64, err error) + Truncate func(size int64) error + Write func(b []byte) (n int, err error)