Documentation ¶
Overview ¶
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Index ¶
Constants ¶
View Source
const ( Yes = "Yes" No = "No" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prompter ¶ added in v0.2.0
type Prompter interface { CapturePositiveBigInt(promptStr string) (*big.Int, error) CaptureAddress(promptStr string) (common.Address, error) CaptureExistingFilepath(promptStr string) (string, error) CaptureYesNo(promptStr string) (bool, error) CaptureNoYes(promptStr string) (bool, error) CaptureList(promptStr string, options []string) (string, error) CaptureString(promptStr string) (string, error) CaptureIndex(promptStr string, options []common.Address) (int, error) CaptureDuration(promptStr string) (time.Duration, error) CaptureDate(promptStr string) (time.Time, error) CaptureNodeID(promptStr string) (ids.NodeID, error) CaptureWeight(promptStr string) (uint64, error) CaptureUint64(promptStr string) (uint64, error) CapturePChainAddress(promptStr string, network models.Network) (string, error) }
func NewPrompter ¶ added in v0.2.0
func NewPrompter() Prompter
NewProcessChecker creates a new process checker which can respond if the server is running
Click to show internal directories.
Click to hide internal directories.