consumer

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ref

type Ref struct {
	*common.GoPluginClient
	// contains filtered or unexported fields
}

Ref is a reference to a specific plugin.

func New

func New(path string) (Ref, error)

New returns a new plugin reference.

func (*Ref) Init

func (r *Ref) Init() error

Init sets up the plugin and gets it running, an expectation exists that the ref will be stored during the lifetime of the server.

func (*Ref) Name

func (r *Ref) Name() string

Name returns a usable name for the plugin

func (*Ref) Shutdown

func (r *Ref) Shutdown()

Shutdown closes down the plugin which prevents us from leaking processes.

Jump to

Keyboard shortcuts

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