Documentation
¶
Overview ¶
Package collect implements the /collect surface: tracking ingestion from customer sites, authenticated by the collect key.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handlers ¶
type Handlers struct {
// contains filtered or unexported fields
}
func NewHandlers ¶
NewHandlers builds the collect handlers. Payload size caps (batch, per event) are enforced before decoding, in internal/server.
func (*Handlers) CollectEventsCreate ¶
func (h *Handlers) CollectEventsCreate(ctx context.Context, req *collectapi.CollectEventsInput) (collectapi.CollectEventsCreateRes, error)
func (*Handlers) CollectIdentifyCreate ¶
func (h *Handlers) CollectIdentifyCreate(ctx context.Context, req *collectapi.CollectIdentifyInput) (collectapi.CollectIdentifyCreateRes, error)
Click to show internal directories.
Click to hide internal directories.