Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(config HandlerConfig) (*Handler, error)
type HandlerConfig ¶
type HandlerConfig struct {
Queue asyncpkg.Queue
Policy security.Policy
Audit audit.Sink
AuthMiddleware func(nethttp.Handler) nethttp.Handler
MetricsHandler nethttp.Handler
IDGenerator func() string
Now func() time.Time
MaxBodyBytes int64
Version string
EventsHandler nethttp.Handler
HITLHandler nethttp.Handler
}
Click to show internal directories.
Click to hide internal directories.