webhook

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: AGPL-3.0 Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Props

type Props map[string]any

Props is a map of key:value

func (Props) SetPost

func (p Props) SetPost(post *entity.Post, keyPrefix, baseURL string, includeAllFields, includeAuthor bool) Props

SetPost describe the post prefixed by "keyPrefix"

func (Props) SetTenant

func (p Props) SetTenant(tenant *entity.Tenant, keyPrefix, baseURL, logoURL string) Props

SetTenant describe the tenant prefixed by "keyPrefix"

func (Props) SetUser

func (p Props) SetUser(user *entity.User, keyPrefix string) Props

SetUser describe the user prefixed by "keyPrefix"

Jump to

Keyboard shortcuts

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