Documentation
¶
Index ¶
- 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 GetIP(host string) (string, error)
- func RandAlpaNumericString(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 WhoAmI() (string, error)
- type NetInfo
- type NodeInfo
- type Status
- type TendermintRESTClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentUserHomePath ¶
func CurrentUserHomePath() string
func ExecuteBinary ¶
func FileExists ¶
func RandAlpaNumericString ¶
func ReadStructuredFileValue ¶
func RetryReturn ¶
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.