stripe

package
v0.0.0-...-bd3f3ed Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModeLive = "live"
	ModeTest = "test"
)

Variables

This section is empty.

Functions

func New

func New() schema.Plugin

func SecretKey

func SecretKey() schema.CredentialType

func StripeCLI

func StripeCLI() schema.Executable

func TryStripeConfigFile

func TryStripeConfigFile() sdk.Importer

Types

type Config

type Config struct {
	Projects map[string]ProjectConfig
}

type ProjectConfig

type ProjectConfig struct {
	LiveModeAPIKey       string `toml:"live_mode_api_key"`
	LiveModeKeyExpiresAt string `toml:"live_mode_key_expires_at"`
	TestModeAPIKey       string `toml:"test_mode_api_key"`
	TestModeKeyExpiresAt string `toml:"test_mode_key_expires_at"`
}

Jump to

Keyboard shortcuts

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