token

package
v0.1.3-beta Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Token

func Token(token ...LoaderToken) plugin.Plugin

Types

type LoaderToken

type LoaderToken interface {
	Init(conf config.Config) error
}

type PlugToken

type PlugToken struct {
	// contains filtered or unexported fields
}

func (*PlugToken) ConfPrefix

func (t *PlugToken) ConfPrefix() string

func (*PlugToken) DependsOn

func (t *PlugToken) DependsOn(config.Value) []string

func (*PlugToken) Load

func (t *PlugToken) Load(b config.Value) (plugin.Plugin, error)

func (*PlugToken) Name

func (t *PlugToken) Name() string

func (*PlugToken) Unload

func (t *PlugToken) Unload() error

func (*PlugToken) Weight

func (t *PlugToken) Weight() int

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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