params

package
v0.0.0-...-9e81241 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatusResponse

type StatusResponse struct {
	Message string
}

type TrackEventRequest

type TrackEventRequest struct {
	Type       string            `json:"type" validate:"required"`
	Name       string            `json:"name" validate:"required,min=3,max=255"`
	SendAt     time.Time         `json:"send_at" validate:"required"`
	ReceivedAt time.Time         `json:"received_at" validate:"required"`
	Timestamp  time.Time         `json:"timestamp" validate:"required"`
	Event      string            `json:"event" validate:"required"`
	WriteKey   string            `json:"write_key" validate:"required"`
	Properties map[string]string `json:"properties" validate:"required"`
}

type TrackEventResponse

type TrackEventResponse struct {
	ID               []string `json:"ids"`
	InvalidWriteKeys []string `json:"invalid_write_keys"`
	Success          int      `json:"success"`
	FAIL             int      `json:"failed"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL