package
0.0.0-20190109151737-6637ac4559f7
Repository: https://github.com/xtracdev/xavi.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package timing provides a plugin Xavi wires in as the enclosing wrapper for the user specified plugin chain.

# Functions

No description provided by the author
No description provided by the author
ListMultiBackendAdapters lists the multi backend adapter factories that have been registered.
ListPlugins lists the plugins currently registered withthe package.
LookupMultiBackendAdapterFactory returns the factory function registered for the givenname.
LookupWrapperFactoryCtx looks up the named wrapper factory in theregistry, returning an error if the factory is not registered.
MultiBackendAdapterRegistryContains is a predicate that returns true if the namedmulti backend adapter factory has been registered.
RegisterMultiBackendAdapterFactory registers the given factory function using the given name.
RegisterWrapperFactory is a method for registering wrapper factorieswith the package.
RegistryContains is a predicate that indicates if the namedplugin is registered with this package.
WrapHandlerFunc wraps a handler function, which is instantiated using the wrapperfactory and arguments to the wrapper factory stored in the wrapper factory context.

# Structs

MultiBackendAdapter is a type used to adapt a handler function with an additional context argument tothe standard HTTP handler function for use with golang's HTTP functions.
No description provided by the author

# Interfaces

MultiBackendHandler defines an HTTP handler interface that includes backend handler context.
Wrapper defines an interface for things that can wrap http Handlers.

# Type aliases

BackendHandlerMap provides a map from backend name to the handler associated with the backend.
MultiBackendAdapterFactory defines a function type for instantiating a MultiBackendAdaptergiven a backend handler map.
MultiBackendHandlerFunc defines a handler function that includes backend handler context.
WrapperFactory defines a function that can create something thatimplements Wrapper.