Help us shape the future of Go! Take the 2026 Go Developer Survey

handler

package
v1.21.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package handler registers the billing module's payment gateway callback routes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterNotifyHandlers

func RegisterNotifyHandlers(router *server.Hertz, service billing.Service)

RegisterNotifyHandlers routes the gateway callbacks. The notify middleware resolves the payment method a callback's URL names through the facade before the handler settles the callback.

Types

This section is empty.

Directories

Path Synopsis
admin
coupon
Package coupon holds the HTTP handlers of the admin coupon API; they adapt requests to the billing facade.
Package coupon holds the HTTP handlers of the admin coupon API; they adapt requests to the billing facade.
order
Package order holds the HTTP handlers of the admin order API; they adapt requests to the billing facade.
Package order holds the HTTP handlers of the admin order API; they adapt requests to the billing facade.
payment
Package payment holds the HTTP handlers of the admin payment method API; they adapt requests to the billing facade.
Package payment holds the HTTP handlers of the admin payment method API; they adapt requests to the billing facade.
withdrawal
Package withdrawal holds the HTTP handlers of the admin commission withdrawal review API; they adapt requests to the billing facade.
Package withdrawal holds the HTTP handlers of the admin commission withdrawal review API; they adapt requests to the billing facade.
Package notify holds the HTTP handler that receives payment gateway callbacks and hands them to the billing facade to authenticate and settle.
Package notify holds the HTTP handler that receives payment gateway callbacks and hands them to the billing facade to authenticate and settle.
public
order
Package order holds the HTTP handlers of the user order API, V1 and the V2 create-and-checkout orchestration with its event stream; they adapt requests to the billing facade.
Package order holds the HTTP handlers of the user order API, V1 and the V2 create-and-checkout orchestration with its event stream; they adapt requests to the billing facade.
payment
Package payment holds the HTTP handler listing the payment methods a signed-in user can pay with.
Package payment holds the HTTP handler listing the payment methods a signed-in user can pay with.
portal
Package portal holds the HTTP handlers of the guest storefront API: plans, payment methods, guest orders, their checkout and status; they adapt requests to the billing facade.
Package portal holds the HTTP handlers of the guest storefront API: plans, payment methods, guest orders, their checkout and status; they adapt requests to the billing facade.
user
Package user holds the HTTP handlers of the user wallet API: commission withdrawal, balance, commission and withdrawal statements, and the affiliate overview; they adapt requests to the billing facade.
Package user holds the HTTP handlers of the user wallet API: commission withdrawal, balance, commission and withdrawal statements, and the affiliate overview; they adapt requests to the billing facade.

Jump to

Keyboard shortcuts

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