Documentation
¶
Index ¶
- func Connect(lggr logger.Logger, apiClient *ton.APIClient, net string, verbose bool, ...) (*client, error)
- func GenerateExplorerCmd(lggr *logger.Logger, contracts map[string]debug.TypeAndVersion, ...) *cobra.Command
- func ParseURL(urlStr string) (txHash, address, network string, err error)
- func TONConnect(lggr logger.Logger, apiClient *ton.APIClient, net string, verbose bool, ...) (*ton.APIClient, error)
- type ContainerInspect
- type Format
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶
func Connect(lggr logger.Logger, apiClient *ton.APIClient, net string, verbose bool, pageSize uint32, maxPages uint32) (*client, error)
Connect establishes a connection to the specified TON network and returns an explorer instance for tracing transactions.
Parameters: - net: The TON network to connect to (e.g., "mainnet", "testnet", "mylocalton", "http://127.0.0.1:8000/localhost.global.config.json"). - verbose: Whether to enable verbose output. - pageSize: The number of transactions to fetch per page. - maxPages: The maximum number of pages to fetch.
func GenerateExplorerCmd ¶
Types ¶
type ContainerInspect ¶
type ContainerInspect struct {
ID string `json:"Id"`
State struct {
Running bool `json:"Running"`
} `json:"State"`
Config struct {
Image string `json:"Image"`
} `json:"Config"`
NetworkSettings struct {
Ports map[string][]struct {
HostIP string `json:"HostIp"`
HostPort string `json:"HostPort"`
} `json:"Ports"`
} `json:"NetworkSettings"`
}
ContainerInspect represents the structure returned by docker inspect
Click to show internal directories.
Click to hide internal directories.