Documentation ¶
Index ¶
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigPath ¶
func ReadOffset ¶
func ReadOffset(r FileStorage) (uint64, error)
func RetryWithTimeout ¶
func WriteOffset ¶
func WriteOffset(w FileStorage, offset uint64) error
Types ¶
Click to show internal directories.
Click to hide internal directories.