Handlers, DB, Cache
This commit is contained in:
17
internal/api/payment/module.go
Normal file
17
internal/api/payment/module.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package payment
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"go.uber.org/fx"
|
||||
)
|
||||
|
||||
var Module = fx.Options(
|
||||
fx.Provide(NewPaymentHandler),
|
||||
)
|
||||
|
||||
type Handler interface {
|
||||
GetSbpBanks(http.ResponseWriter, *http.Request)
|
||||
PaymentCreate(http.ResponseWriter, *http.Request)
|
||||
PaymentCallback(http.ResponseWriter, *http.Request)
|
||||
}
|
||||
Reference in New Issue
Block a user