internal

package
v0.0.0-...-6d1408b Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RabbitMQQueue

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

func (*RabbitMQQueue) Close

func (q *RabbitMQQueue) Close() error

func (*RabbitMQQueue) Consume

func (q *RabbitMQQueue) Consume() (<-chan amqp.Delivery, error)

func (*RabbitMQQueue) Publish

func (q *RabbitMQQueue) Publish(data interface{}) error

type RabbitMQService

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

func NewRabbitMQService

func NewRabbitMQService(endpoint string) (*RabbitMQService, error)

func (*RabbitMQService) Close

func (s *RabbitMQService) Close() error

func (*RabbitMQService) NewQueue

func (s *RabbitMQService) NewQueue(name string, exchange string, routingKey string) (*RabbitMQQueue, error)

type StripeService

type StripeService struct {
}

func NewStripeService

func NewStripeService(stripeApiKey string) *StripeService

func (*StripeService) ConstructWebhookEvent

func (s *StripeService) ConstructWebhookEvent(w http.ResponseWriter, req *http.Request, endpointSecret string) (stripe.Event, error)

Jump to

Keyboard shortcuts

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