generated from PenaSide/GolangTemplate
15 lines
451 B
Go
15 lines
451 B
Go
package payment
|
|
|
|
import (
|
|
"context"
|
|
|
|
"google.golang.org/protobuf/types/known/emptypb"
|
|
"penahub.gitlab.yandexcloud.net/pena-services/customer/internal/proto/payment_callback"
|
|
)
|
|
|
|
type PaymentController struct {
|
|
}
|
|
|
|
func (receiver *PaymentController) OnSuccess(ctx context.Context, in *payment_callback.Event) (*emptypb.Empty, error)
|
|
func (receiver *PaymentController) OnFailure(ctx context.Context, in *payment_callback.Event) (*emptypb.Empty, error)
|