Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvTestnet = "testnet"
	EnvDevnet  = "devnet"
)

Variables

View Source
var (
	ErrInvalidEnvironment = fmt.Errorf("invalid environment")
)

Functions

This section is empty.

Types

type NetworkConfig

type NetworkConfig struct {
	LedgerRPCURL            string
	ServiceabilityProgramID solana.PublicKey
	TelemetryProgramID      solana.PublicKey
}

func NetworkConfigForEnv

func NetworkConfigForEnv(env string) (*NetworkConfig, error)

Jump to

Keyboard shortcuts

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