etkecc

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrivateSuffixes added in v1.4.0

func PrivateSuffixes() []string

PrivateSuffixes returns private suffixes

func SetPSD added in v1.4.1

func SetPSD(c *psd.Client)

SetPSD sets PSD validator

Types

type EmailSender added in v1.1.0

type EmailSender interface {
	Send(context.Context, *postmark.Email) error
}

EmailSender interface

type Etkecc

type Etkecc struct {
	// contains filtered or unexported fields
}

Etkecc extension

func New

func New(pm EmailSender) *Etkecc

New etke.cc extension

func (*Etkecc) Execute

func (e *Etkecc) Execute(ctx context.Context, v common.Validator, form *config.Form, data map[string]string) (string, []*mautrix.ReqUploadMedia)

Execute extension

func (*Etkecc) Validate added in v1.4.1

func (e *Etkecc) Validate(ctx context.Context, v common.Validator, _ *config.Form, data map[string]string) error

Validate submission

Jump to

Keyboard shortcuts

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