webhook

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailSend

type EmailSend struct {
	Subject          string `json:"subject"`        // subject
	BodyPlain        string `json:"body_plain"`     // used for string templates
	Body             string `json:"body,omitempty"` // used for HTML templates
	ToEmailAddress   string `json:"to_email_address"`
	DeliveredByHanko bool   `json:"delivered_by_hanko"`
	AcceptLanguage   string `json:"accept_language"` // Deprecated. Accept-Language header from HTTP request
	Language         string `json:"language"`        // X-Language header from HTTP request
	Type             string `json:"type"`            // type of the email

	Data interface{} `json:"data"`
}

type PasscodeData

type PasscodeData struct {
	ServiceName string `json:"service_name"`
	OtpCode     string `json:"otp_code"`
	TTL         int    `json:"ttl"`
	ValidUntil  int64  `json:"valid_until"` // UnixTimestamp
}

Jump to

Keyboard shortcuts

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