Reorganaze modules, add auth processing.

This commit is contained in:
2026-03-13 00:07:23 +03:00
parent 95b1b867db
commit 970e64745b
14 changed files with 220 additions and 97 deletions

View 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)
}