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) 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)
Click to show internal directories.
Click to hide internal directories.