common

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: Apache-2.0 Imports: 2 Imported by: 34

Documentation

Index

Constants

View Source
const (
	EnvApiKeyID     = "APCA_API_KEY_ID"
	EnvApiSecretKey = "APCA_API_SECRET_KEY"
	EnvApiOAuth     = "APCA_API_OAUTH"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type APIKey

type APIKey struct {
	ID     string
	Secret string
	OAuth  string
}

func Credentials

func Credentials() *APIKey

Credentials returns the user's Alpaca API key ID and secret for use through the SDK.

Jump to

Keyboard shortcuts

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