package
4.9.0-rc3+incompatible
Repository: https://github.com/demisto/mattermost-server.git
Documentation: pkg.go.dev

# Packages

This package implements a parser for the subset of the CommonMark spec necessary for us to do server-side processing.

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
TODO: this code initializes console and file logging.
No description provided by the author
No description provided by the author
CopyDir will copy a directory and all contained files and directories.
CopyFile will copy a file from src path to dst path.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EnsureConfigFile will attempt to locate a config file with the given name.
ExtractTarGz takes in an io.Reader containing the bytes for a .tar.gz file and a destination string to extract to.
No description provided by the author
FindConfigFile attempts to find an existing configuration file.
FindDir looks for the given directory in nearby ancestors, falling back to `./` if not found.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LoadConfig will try to search around for the corresponding config file.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewHTTPClient returns a variation the default implementation of Client.
New creates an LRU of the given size.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PathTraversesUpward will return true if the path attempts to traverse upwards by using ".." in the path.
No description provided by the author
No description provided by the author
Random selection of text for post.
No description provided by the author
ReadConfig reads and parses the given configuration.
ReadConfigFile reads and parses the configuration at the given file path.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
allows for sending an email with attachments and differing MIME/SMTP recipients.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
this functions loads translations from filesystem and assign english while loading server config.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
Lovely giberish for all to use.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
Strings that should pass as acceptable emails.
Strings that should pass as acceptable team names.
Strings that should pass as acceptable posts.
No description provided by the author
No description provided by the author

# Structs

Cache is a thread-safe fixed size LRU cache.
No description provided by the author
No description provided by the author
No description provided by the author
OutputJSONMessage holds the received Message fto test sending emails (inbucket).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
Caching Interface.

# Type aliases

No description provided by the author
OutputJSONHeader holds the received Header to test sending emails (inbucket).