Documentation ¶
Overview ¶
Package api contains implementation of a api plugin wrapper. This package handles messages sync between master and workers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExtendedAPIProvider ¶
func NewExtendedAPIProvider(ctor *ConstructAPI) (providers.IExtendedAPIProvider, error)
NewExtendedAPIProvider creates a new API provider.
Types ¶
type ConstructAPI ¶
type ConstructAPI struct { Logger common.ILoggerProvider Loader providers.IPluginLoaderProvider Secret common.ISecretProvider Validator providers.IValidatorProvider Provider string Name string RawConfig []byte FanOut providers.IInternalFanOutProvider Server providers.IServerProvider InternalRootRouter *mux.Router ExternalAPIRouter *mux.Router IsServer bool ServiceBus providers.IBusProvider }
ConstructAPI has data to create a new API provider.
Click to show internal directories.
Click to hide internal directories.