newsletter

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2025 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DummyNewsletterSubscription

type DummyNewsletterSubscription struct {
}

func (*DummyNewsletterSubscription) SubscribeToNewsletter

func (ds *DummyNewsletterSubscription) SubscribeToNewsletter(u happydns.UserInfo) error

type ListmonkNewsletterSubscription

type ListmonkNewsletterSubscription struct {
	ListmonkURL *url.URL
	ListmonkId  int
}

func (*ListmonkNewsletterSubscription) SubscribeToNewsletter

func (ns *ListmonkNewsletterSubscription) SubscribeToNewsletter(u happydns.UserInfo) error

type ListmonkSubscriber

type ListmonkSubscriber struct {
	Email                   string                 `json:"email"`
	Name                    string                 `json:"name"`
	Status                  string                 `json:"status,omitempty"`
	Lists                   []int                  `json:"lists"`
	Attribs                 map[string]interface{} `json:"attribs,omitempty"`
	PreconfirmSubscriptions bool                   `json:"preconfirm_subscriptions,omitempty"`
}

Source Files

  • listmonk.go
  • none.go

Jump to

Keyboard shortcuts

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