Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Zinc ¶
type Zinc struct {
}
Zinc plugin deals with managing zinc related details.
func Instance ¶
func Instance() *Zinc
Instance returns the singleton instance of the plugin. Instance should be the only way (both within or outside the package) to fetch the instance of the plugin, in order to avoid stateless duplicates.
func (*Zinc) AlternateRoutes ¶
Expose plugin specific routes
func (*Zinc) ESMiddleware ¶
func (p *Zinc) ESMiddleware() []middleware.Middleware
func (*Zinc) InitFunc ¶
InitFunc initializes the dao, i.e. elasticsearch client, and should be executed only once in the lifetime of the plugin.
func (*Zinc) RSMiddleware ¶
func (p *Zinc) RSMiddleware() []middleware.Middleware
Click to show internal directories.
Click to hide internal directories.