Reorganaze modules, add auth processing.
This commit is contained in:
17
internal/api/payout/module.go
Normal file
17
internal/api/payout/module.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package payout
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"go.uber.org/fx"
|
||||
)
|
||||
|
||||
var Module = fx.Options(
|
||||
fx.Provide(NewPayoutHandler),
|
||||
)
|
||||
|
||||
type Handler interface {
|
||||
GetSbpBanks(http.ResponseWriter, *http.Request)
|
||||
PayoutCreate(http.ResponseWriter, *http.Request)
|
||||
PayoutCallback(http.ResponseWriter, *http.Request)
|
||||
}
|
||||
Reference in New Issue
Block a user