plugin

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const MethodName = "New"
View Source
const PostHandleFunction = "After"
View Source
const PreHandleFunction = "Before"
View Source
const TagPrefix = "Inject"

Variables

This section is empty.

Functions

func Lookup

func Lookup(path string, name string) plugin.Symbol

func Open

func Open(path string) (*plugin.Plugin, error)

Types

type RequestContext

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

func RequestContextExists

func RequestContextExists(target interface{}) *RequestContext

func RequestContextNew

func RequestContextNew(path string) *RequestContext

func (*RequestContext) Has

func (this *RequestContext) Has(name string) bool

func (*RequestContext) Inject

func (this *RequestContext) Inject(tagName string, value interface{})

func (*RequestContext) InjectAll

func (this *RequestContext) InjectAll(valueMap *map[string]interface{})

func (*RequestContext) Invoke

func (this *RequestContext) Invoke(name string) bool

Jump to

Keyboard shortcuts

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