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
}
Handler represents an HTTP handler.
func NewHandler ¶
func NewHandler( reporter reporter.Reporter, encoderPool serialize.TagEncoderPool, decoderPool serialize.TagDecoderPool, instrumentOpts instrument.Options, ) (*Handler, error)
NewHandler returns a new instance of handler with routes.
func (*Handler) RegisterRoutes ¶
RegisterRoutes registers all http routes.
Click to show internal directories.
Click to hide internal directories.