secrets

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package secrets contains functions for loading various secrets from the environment.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CoinbaseAPIKey

func CoinbaseAPIKey() string

CoinbaseAPIKey returns a Coinbase Pro API key, loading it from the environment if necessary.

func CoinbaseAPIPassphrase

func CoinbaseAPIPassphrase() string

CoinbaseAPIPassphrase returns a Coinbase Pro API passphrase, loading it from the environment if necessary.

func CoinbaseAPISecret

func CoinbaseAPISecret() string

CoinbaseAPISecret returns a Coinbase Pro API secret, loading it from the environment if necessary.

func CoinbasePortfolioID

func CoinbasePortfolioID() string

CoinbasePortfolioID returns a Coinbase Pro Account ID, loading it from the environment if necessary.

Types

This section is empty.

Jump to

Keyboard shortcuts

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