config

package
v1.9.7 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolPtr added in v1.9.3

func BoolPtr(val bool) *bool

Types

type Env

type Env string
const (
	EnvMainnet Env = "mainnet"
	EnvTestnet Env = "testnet"
	EnvLocal   Env = "local"
)

type EnvironmentVariables added in v1.9.7

type EnvironmentVariables struct {
	PrivateKey        string
	PublicKey         string
	OpenOrdersAddress string
	Payer             string
}

func InitializeEnvironmentVariables added in v1.9.7

func InitializeEnvironmentVariables() EnvironmentVariables

type Example

type Example struct {
	Env           Env
	RunSlowStream bool
	RunTrades     bool
}

func Load

func Load() (Example, error)

Jump to

Keyboard shortcuts

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