Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DispatchResult ¶
Result after dispatching a request from a processor to the backend.
type Handler ¶
type Handler struct {
Config config.Config
Srv *fh.Server
Cli *fh.Client
Log logr.Logger
Store *stores.NamespaceStore
Metrics *metrics.ProxyRecorder
Auth struct {
EgressHeader []byte
}
Closing uint32
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler( log logr.Logger, c config.Config, store *stores.NamespaceStore, metrics *metrics.ProxyRecorder, name string, processFunc func(*Handler, *fh.Request) (map[string][]byte, error), headerFunc func(clientIP net.Addr, reqID uuid.UUID, tenant string, req *fh.Request), ) *Handler
Initialize a new Processor.
Click to show internal directories.
Click to hide internal directories.