interceptors

package
v1.1.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package interceptors contains interceptors which make checks before a request reaches the handler.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PaymentAuthenticationInterceptor

type PaymentAuthenticationInterceptor struct {
	Service service.PaymentService
}

PaymentAuthenticationInterceptor contains the payment service used in the interceptor

func (PaymentAuthenticationInterceptor) PaymentAuthenticationIntercept

func (paymentAuthenticationInterceptor PaymentAuthenticationInterceptor) PaymentAuthenticationIntercept(next http.Handler) http.Handler

PaymentAuthenticationIntercept checks that the user is authenticated for the payment

Jump to

Keyboard shortcuts

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