Documentation ¶ Overview ¶ Package epay mocks Epay payment API. Index ¶ type Adapter func New() *Adapter func (a *Adapter) BuildResponse(result *engine.Result, body []byte) (int, []byte, map[string]string) func (a *Adapter) BuildWebhookPayload(result *engine.Result, chargeID string, amount int64, currency string, ...) map[string]any func (a *Adapter) Name() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Adapter ¶ type Adapter struct{} func New ¶ func New() *Adapter func (*Adapter) BuildResponse ¶ func (a *Adapter) BuildResponse(result *engine.Result, body []byte) (int, []byte, map[string]string) func (*Adapter) BuildWebhookPayload ¶ func (a *Adapter) BuildWebhookPayload(result *engine.Result, chargeID string, amount int64, currency string, req map[string]any) map[string]any func (*Adapter) Name ¶ func (a *Adapter) Name() string Source Files ¶ View all Source files adapter.go Click to show internal directories. Click to hide internal directories.