Documentation ¶
Index ¶
- func AsIntStringFromFloat(amount *big.Float) string
- func CopyDir(src, dst string) error
- func CopyFile(src, dst string) (int64, error)
- func CurrentUserHomePath() string
- func ExecuteBinary(binaryPath string, args []string, structuredOutput interface{}) ([]byte, error)
- func FileExists(filePath string) bool
- func FormatAssetName(name string, extension string) string
- func GetIP(host string) (string, error)
- func RandAlphaNumericString(l int) string
- func ReadStructuredFileValue(format, filePath, selector string) (string, error)
- func RetryReturn[K any](retryAmount int, retryDelay time.Duration, handler func() (K, error)) (K, error)
- func RetryRun(retryAmount int, retryDelay time.Duration, handler func() error) error
- func StrToIntOrDefault(s string, defaultValue int) int
- func StructSize[T any](variable T) int
- func WhoAmI() (string, error)
- type NetInfo
- type NodeInfo
- type Status
- type TendermintRESTClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsIntStringFromFloat ¶ added in v0.73.9
func CurrentUserHomePath ¶
func CurrentUserHomePath() string
func ExecuteBinary ¶
func FileExists ¶
func FormatAssetName ¶ added in v0.73.9
func RandAlphaNumericString ¶ added in v0.73.9
func ReadStructuredFileValue ¶
func RetryReturn ¶
func StrToIntOrDefault ¶ added in v0.73.9
func StructSize ¶ added in v0.73.9
Types ¶
type TendermintRESTClient ¶
type TendermintRESTClient struct {
// contains filtered or unexported fields
}
func NewTendermintRESTClient ¶
func NewTendermintRESTClient() *TendermintRESTClient
func (*TendermintRESTClient) GetNodeNetInfo ¶
func (c *TendermintRESTClient) GetNodeNetInfo(endpoint string) (*NetInfo, error)
func (*TendermintRESTClient) GetNodeStatus ¶
func (c *TendermintRESTClient) GetNodeStatus(endpoint string) (*Status, error)
Click to show internal directories.
Click to hide internal directories.