api

package
v0.48.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIFakeIntakePayloadsJsonGETResponse

type APIFakeIntakePayloadsJsonGETResponse struct {
	Payloads []ParsedPayload `json:"payloads"`
}

type APIFakeIntakePayloadsRawGETResponse

type APIFakeIntakePayloadsRawGETResponse struct {
	Payloads []Payload `json:"payloads"`
}

type APIFakeIntakeRouteStatsGETResponse

type APIFakeIntakeRouteStatsGETResponse struct {
	Routes map[string]RouteStat `json:"routes"`
}

type ParsedPayload

type ParsedPayload struct {
	Timestamp time.Time   `json:"timestamp"`
	Data      interface{} `json:"data"`
	Encoding  string      `json:"encoding"`
}

type Payload

type Payload struct {
	Timestamp time.Time `json:"timestamp"`
	Data      []byte    `json:"data"`
	Encoding  string    `json:"encoding"`
}

type RouteStat

type RouteStat struct {
	ID    string `json:"id"`
	Count int    `json:"count"`
}

Jump to

Keyboard shortcuts

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