config

package
v0.0.0-...-8aa1adc Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IsTestMode bool

IsTestMode turns off validations for local testing

View Source
var SocketyToken string

SocketyToken token used to communicate with Sockety

View Source
var StripeProd = Environment("live")

StripeProd stripe production environment

View Source
var StripeTest = Environment("test")

StripeTest stripe testing environment

Functions

func ConnectAPIKey

func ConnectAPIKey(env Environment) string

ConnectAPIKey returns the Connect API Key for the passed environment

func InitializeConfiguration

func InitializeConfiguration(conf *env.Config)

InitializeConfiguration inits the base configuration of commentron

Types

type Environment

type Environment string

Environment is a type representing a stripe environment

func From

func From(env string) Environment

From converts a string to a stripe environment

Jump to

Keyboard shortcuts

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