webhook

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFixture

func LoadFixture(provider, event, customPath string) ([]byte, error)

LoadFixture loads a fixture file and replaces template placeholders.

func ParseEvent

func ParseEvent(event string) (provider, eventName string)

ParseEvent parses an event string into provider and event name. Format: provider.event_name (e.g., "stripe.payment_intent.created").

func PrettyPrintJSON

func PrettyPrintJSON(data []byte) error

PrettyPrintJSON formats and prints JSON data to stdout with colors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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