package
1.4.2
Repository: https://github.com/apache/answer.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
GetPluginUserConfig returns the user config of the given user id.
No description provided by the author
No description provided by the author
MakePlugin creates a plugin caller and register stack manager The parameter super presents if the plugin can be disabled.
MakeTranslator generates a translator from the key.
No description provided by the author
Register registers a plugin.
RegisterGetPluginUserConfigFunc registers a function to get the user config of the given user id.
RegisterGetSiteURLFunc Register a function to get the site url.
SiteURL The site url is the domain address of the current site.
Translate translates the key to the current language of the context.
TranslateWithData translates the key to the language with data.
No description provided by the author

# Constants

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
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
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

# Variables

No description provided by the author
CallBase is a function that calls all registered base plugins.
CallCache is a function that calls all registered cache.
CallCDN is a function that calls all registered parsers.
CallConfig is a function that calls all registered config plugins.
CallConnector is a function that calls all registered connectors.
CallEmbed is a function that calls all registered parsers.
CallFilter is a function that calls all registered parsers.
CallImporter is a function that calls all registered parsers.
CallNotification is a function that calls all registered notification plugins.
CallParser is a function that calls all registered parsers.
CallRender is a function that calls all registered parsers.
CallReviewer is a function that calls all registered parsers.
CallSearch is a function that calls all registered parsers.
CallStorage is a function that calls all registered storage.
CallUserCenter is a function that calls all registered parsers.
CallUserConfig is a function that calls all registered config plugins.
No description provided by the author
No description provided by the author
StatusManager is a manager that manages the status of plugins Init Plugins: json.Unmarshal([]byte(`{"plugin1": true, "plugin2": false}`), &plugin.StatusManager) Dump Status: json.Marshal(plugin.StatusManager).

# Structs

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
ExternalLoginUserInfo external login user info.
Info presents the plugin information.
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
ReviewContent is a struct that contains the content of a review.
No description provided by the author
ReviewResult is a struct that contains the result of a review.
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
Translator contains a function that translates the key to the current language of the context.
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
Base is the base plugin.
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

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
GinContext is a wrapper of gin.Context We export it to make it easy to use in plugins.
No description provided by the author
No description provided by the author
NotificationType is the type of the notification.
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
TranslateFn presents a generator of translated string.
No description provided by the author
No description provided by the author