Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrRunning = &SAppError{"adapter running"} ErrNoConnections = &SAppError{"no connections"} )
Functions ¶
This section is empty.
Types ¶
type IHTTPAdapter ¶
type IHTTPAdapter interface { WithLogger(name.IServiceName, logger.ILogger) IHTTPAdapter WithHandlers(...IHandler) IHTTPAdapter GetOnlines() []string adapters.IRunnerAdapter }
func NewHTTPAdapter ¶
func NewHTTPAdapter( pSettings ISettings, pCache cache.ICache, pConnsGetter func() []string, ) IHTTPAdapter
type IHandler ¶
type IHandler interface { GetPath() string GetFunc() func(http.ResponseWriter, *http.Request) }
func NewHandler ¶
type ISettings ¶
func NewSettings ¶
Click to show internal directories.
Click to hide internal directories.