zinc

package
v0.0.0-...-0fffe9f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

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

func (p *Zinc) AlternateRoutes() []plugins.Route

Expose plugin specific routes

func (*Zinc) ESMiddleware

func (p *Zinc) ESMiddleware() []middleware.Middleware

func (*Zinc) InitFunc

func (p *Zinc) InitFunc() error

InitFunc initializes the dao, i.e. elasticsearch client, and should be executed only once in the lifetime of the plugin.

func (*Zinc) Name

func (r *Zinc) Name() string

Name returns the name of the plugin: [pipelines]

func (*Zinc) RSMiddleware

func (p *Zinc) RSMiddleware() []middleware.Middleware

func (*Zinc) Routes

func (p *Zinc) Routes() []plugins.Route

Routes returns an empty slices since the plugin solely acts as a middleware.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL