utils

package
v1.9.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OutputFileFlag = &cli.StringFlag{
		Name:     "output",
		Usage:    "file to output CSV results to",
		Required: true,
	}
	SolanaHTTPRPCEndpointFlag = &cli.StringFlag{
		Name:  "solana-http-endpoint",
		Usage: "HTTP RPC server endpoint to make blockchain queries against",
	}
	SolanaWSRPCEndpointFlag = &cli.StringFlag{
		Name:  "solana-ws-endpoint",
		Usage: "WS RPC server endpoint to make blockchain pub/sub queries against",
	}
	APIWSEndpoint = &cli.StringFlag{
		Name:  "solana-trader-ws-endpoint",
		Usage: "Solana Trader API API websocket connection endpoint",
		Value: "wss://virginia.solana.dex.blxrbdn.com/ws",
	}
)

Functions

func AsyncGather

func AsyncGather[T any, R any](ctx context.Context, inputs []T, apply func(int, context.Context, T) (R, error)) ([]R, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL