Versions in this module Expand all Collapse all v1 v1.4.3 Aug 21, 2024 Changes in this version + type EmailSender struct + func NewEmailSender(t interface{ ... }) *EmailSender + func (_m *EmailSender) Send(_a0 context.Context, _a1 *postmark.Email) error + type Extension struct + func NewExtension(t interface{ ... }) *Extension + func (_m *Extension) Execute(_a0 context.Context, _a1 common.Validator, _a2 *config.Form, ...) (string, []*mautrix.ReqUploadMedia) + func (_m *Extension) Validate(_a0 context.Context, _a1 common.Validator, _a2 *config.Form, ...) error + type FormHandler struct + func NewFormHandler(t interface{ ... }) *FormHandler + func (_m *FormHandler) GET(_a0 context.Context, _a1 string, _a2 *http.Request) (string, error) + func (_m *FormHandler) POST(_a0 context.Context, _a1 string, _a2 *http.Request) (string, error) + type Linkpearl struct + func NewLinkpearl(t interface{ ... }) *Linkpearl + func (_m *Linkpearl) FindEventBy(ctx context.Context, roomID id.RoomID, fieldValue map[string]string, ...) *event.Event + func (_m *Linkpearl) GetClient() *mautrix.Client + func (_m *Linkpearl) Send(ctx context.Context, roomID id.RoomID, content interface{}) (id.EventID, error) + func (_m *Linkpearl) SendFile(ctx context.Context, roomID id.RoomID, req *mautrix.ReqUploadMedia, ...) error + func (_m *Linkpearl) SendNotice(ctx context.Context, roomID id.RoomID, message string, ...) + func (_m *Linkpearl) Start(ctx context.Context, optionalStatusMsg ...string) error + func (_m *Linkpearl) Stop(ctx context.Context) + type Sender struct + func NewSender(t interface{ ... }) *Sender + func (_m *Sender) Send(_a0 context.Context, _a1 id.RoomID, _a2 string, _a3 map[string]interface{}) id.EventID + func (_m *Sender) SendFile(_a0 context.Context, _a1 id.RoomID, _a2 *mautrix.ReqUploadMedia, ...) + type Validator struct + func NewValidator(t interface{ ... }) *Validator + func (_m *Validator) A(_a0 string) bool + func (_m *Validator) CNAME(_a0 string) bool + func (_m *Validator) Domain(_a0 string) bool + func (_m *Validator) DomainString(_a0 string) bool + func (_m *Validator) Email(_a0 string, _a1 string, _a2 ...net.IP) bool + func (_m *Validator) GetBase(_a0 string) string + func (_m *Validator) MX(_a0 string) bool + func (_m *Validator) NS(_a0 string, _a1 ...string) bool