Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrettyJson ¶
func Render ¶
func Render(data HelpObject) string
Types ¶
type HelpObject ¶
type HelpObject struct { Template TextTemplate Err error Status *common.UserStatusOutput Notifications []common.FileNotification FilePath string Protected bool Method string SeeAlso []HelpSeeAlso Token string Email string }
type HelpSeeAlso ¶
type TextTemplate ¶
type TextTemplate int
const ( EmailAfterRegistration TextTemplate = iota EmailNotification EmailPaymentCancel EmailPaymentPlease EmailValidation FileMeta SyncMeta GuiEmailRequired GuiInfo GuiPassRequired GuiPitch GuiTos HtmlLinkError HtmlLinkExpired HtmlVerificationOk HtmlWaitPaypal TokenMeta Profile AllHelp EmailQuotaLeft )
func (TextTemplate) String ¶
func (i TextTemplate) String() string
Click to show internal directories.
Click to hide internal directories.