m4m

package
v0.0.0-...-81b1c06 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: BSD-3-Clause Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogError

func LogError(format string, a ...interface{})

LogError logs into stderr

func LogInfo

func LogInfo(format string, a ...interface{})

LogInfo logs into stdout

func StripeWebHookHandler

func StripeWebHookHandler(w http.ResponseWriter, r *http.Request)

StripeWebHookHandler handles

Types

type Config

type Config struct {
	Stripe StripeConfig
	FabMan FabManConfig
}

func GetConfig

func GetConfig() *Config

type FabManConfig

type FabManConfig struct {
	Account int
	Token   string
}

type StripeConfig

type StripeConfig struct {
	Secret        string
	SigningSecret string
}

Jump to

Keyboard shortcuts

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