input

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirectoryInput

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

func NewDirectoryInput

func NewDirectoryInput(logger logging.Logger) *DirectoryInput

func (*DirectoryInput) GetComponents

func (di *DirectoryInput) GetComponents() ([]string, error)

func (*DirectoryInput) GetEmails

func (di *DirectoryInput) GetEmails() ([]*EmailInputTemplate, error)

func (*DirectoryInput) GetI10n

func (di *DirectoryInput) GetI10n() (map[string]map[string]string, error)

type EmailInputTemplate

type EmailInputTemplate struct {
	Name            string
	EmailTemplate   string
	SubjectTemplate string
}

type Interface

type Interface interface {
	GetComponents() ([]string, error)
	GetEmails() ([]*EmailInputTemplate, error)
	GetI10n() (map[string]map[string]string, error)
}

Jump to

Keyboard shortcuts

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