service

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: BSD-3-Clause Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Version         = "1.0.1"
	EndpointVersion = "/version"
	EndpointRoot    = "/"
	EndpointWebHook = "/stripe_webhooks"
)
View Source
const (
	EndpointCheckout      = "/checkout"
	EndpointLoadCustomer  = "/customer"
	EndpointInAppPurchase = "/iap"
	EndpointTransferTo    = "/transfer"
)
View Source
const (
	MaxBodyBytes = int64(65536)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type StripeDelegate

type StripeDelegate struct {
}

func (*StripeDelegate) RegisterEndPoint

func (sd *StripeDelegate) RegisterEndPoint(mux *http.ServeMux)

type StripeService

type StripeService struct {
	// contains filtered or unexported fields
}

func Inst

func Inst() *StripeService

func (*StripeService) StartTestWork

func (ss *StripeService) StartTestWork()

func (*StripeService) StartWork

func (ss *StripeService) StartWork()

type WebHook

type WebHook struct {
}

func (*WebHook) ServeHTTP

func (wh *WebHook) ServeHTTP(w http.ResponseWriter, req *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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