incoming

package
v0.22.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Params

type Params map[string]interface{}

type Payload

type Payload struct {
	Params Params `json:"params"`
}

func ParseIncomingPayload

func ParseIncomingPayload(payload []byte) (Payload, error)

parsePayload parses the payload from the incoming webhook, in json format and has only one key params

Jump to

Keyboard shortcuts

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