templates

package
v3.21.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIKeyChangedData

type APIKeyChangedData struct {
	email.NotificationTemplateData
	*ttnpb.APIKey
}

APIKeyChangedData is the data for the api_key_changed email.

func (*APIKeyChangedData) ConsoleURL

func (a *APIKeyChangedData) ConsoleURL() string

ConsoleURL returns the URL to the API key in the Console.

type APIKeyCreatedData

type APIKeyCreatedData struct {
	email.NotificationTemplateData
	*ttnpb.APIKey
}

APIKeyCreatedData is the data for the api_key_created email.

func (*APIKeyCreatedData) ConsoleURL

func (a *APIKeyCreatedData) ConsoleURL() string

ConsoleURL returns the URL to the API key in the Console.

type ClientRequestedData

type ClientRequestedData struct {
	email.NotificationTemplateData
	*ttnpb.CreateClientRequest
}

ClientRequestedData is the data for the client_requested email.

type CollaboratorChangedData

type CollaboratorChangedData struct {
	email.NotificationTemplateData
	*ttnpb.Collaborator
}

CollaboratorChangedData is the data for the collaborator_changed email.

func (*CollaboratorChangedData) ConsoleURL

func (d *CollaboratorChangedData) ConsoleURL() string

ConsoleURL returns the URL to the API key in the Console.

type EntityStateChangedData

type EntityStateChangedData struct {
	email.NotificationTemplateData
	*ttnpb.EntityStateChangedNotification
}

EntityStateChangedData is the data for the entity_state_changed email.

type InvitationData

type InvitationData struct {
	email.TemplateData
	SenderIds       *ttnpb.UserIdentifiers
	InvitationToken string
	TTL             time.Duration
}

InvitationData is the data for the invitation email.

type LoginTokenData

type LoginTokenData struct {
	email.TemplateData
	LoginToken string
	TTL        time.Duration
}

LoginTokenData is the data for the login_token email.

type PasswordChangedData

type PasswordChangedData struct {
	email.NotificationTemplateData
}

PasswordChangedData is the data for the password_changed email.

type TemporaryPasswordData

type TemporaryPasswordData struct {
	email.TemplateData
	TemporaryPassword string
	TTL               time.Duration
}

TemporaryPasswordData is the data for the temporary_password email.

type UserRequestedData

type UserRequestedData struct {
	email.NotificationTemplateData
	*ttnpb.CreateUserRequest
}

UserRequestedData is the data for the user_requested email.

type ValidateData

type ValidateData struct {
	email.TemplateData
	*ttnpb.EntityIdentifiers
	ID    string
	Token string
	TTL   time.Duration
}

ValidateData is the data for the validate email.

Jump to

Keyboard shortcuts

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