Documentation
¶
Index ¶
- Constants
- Variables
- func Initialize(configFile string) error
- type AddingCorpManager
- type CorporationSigning
- type EmailMessage
- type EmployeeNotification
- type EmployeeSigning
- type IEmail
- type IEmailMessageBulder
- type IndividualSigning
- type NotifyingManager
- type RemovingCorpManager
- type VerificationCode
Constants ¶
View Source
const ( TmplCorporationSigning = "corporation signing" TmplIndividualSigning = "individual signing" TmplEmployeeSigning = "employee signing" TmplNotifyingManager = "notifying manager" TmplVerificationCode = "verificaition code" TmplAddingCorpAdmin = "adding corp admin" TmplAddingCorpManager = "adding corp manager" TmplRemovingCorpManager = "removing corp manager" TmplActivatingEmployee = "activating employee" TmplInactivaingEmployee = "inactivating employee" TmplRemovingingEmployee = "removing employee" )
Variables ¶
View Source
var EmailAgent = &emailAgent{emailClients: map[string]IEmail{}}
Functions ¶
func Initialize ¶
Types ¶
type AddingCorpManager ¶
type AddingCorpManager struct { Admin bool ID string User string Email string Password string Org string ProjectURL string URLOfCLAPlatform string }
func (AddingCorpManager) GenEmailMsg ¶
func (this AddingCorpManager) GenEmailMsg() (*EmailMessage, error)
type CorporationSigning ¶
type CorporationSigning struct { Org string Date string AdminName string ProjectURL string SigningInfo string }
func (CorporationSigning) GenEmailMsg ¶
func (this CorporationSigning) GenEmailMsg() (*EmailMessage, error)
type EmailMessage ¶
type EmployeeNotification ¶
type EmployeeNotification struct { Removing bool Active bool Inactive bool Name string ProjectURL string Manager string Org string }
func (EmployeeNotification) GenEmailMsg ¶
func (this EmployeeNotification) GenEmailMsg() (*EmailMessage, error)
type EmployeeSigning ¶
func (EmployeeSigning) GenEmailMsg ¶
func (this EmployeeSigning) GenEmailMsg() (*EmailMessage, error)
type IEmailMessageBulder ¶
type IEmailMessageBulder interface { // msg returned only includes content GenEmailMsg() (*EmailMessage, error) }
type IndividualSigning ¶
type IndividualSigning struct {
Name string
}
func (IndividualSigning) GenEmailMsg ¶
func (this IndividualSigning) GenEmailMsg() (*EmailMessage, error)
type NotifyingManager ¶
type NotifyingManager struct { EmployeeEmail string ProjectURL string URLOfCLAPlatform string Org string }
func (NotifyingManager) GenEmailMsg ¶
func (this NotifyingManager) GenEmailMsg() (*EmailMessage, error)
type RemovingCorpManager ¶
func (RemovingCorpManager) GenEmailMsg ¶
func (this RemovingCorpManager) GenEmailMsg() (*EmailMessage, error)
type VerificationCode ¶
func (VerificationCode) GenEmailMsg ¶
func (this VerificationCode) GenEmailMsg() (*EmailMessage, error)
Click to show internal directories.
Click to hide internal directories.