Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExtensionClient ¶
type ExtensionClient struct {
// contains filtered or unexported fields
}
func NewExtensionClient ¶
func NewExtensionClient() *ExtensionClient
func (*ExtensionClient) Run ¶
func (c *ExtensionClient) Run(ctx context.Context, cancel func()) error
func (*ExtensionClient) SubscribeTelemetry ¶ added in v0.0.4
func (c *ExtensionClient) SubscribeTelemetry(ctx context.Context, endpoint string) error
type LogSender ¶
type LogSender struct {
// contains filtered or unexported fields
}
type Option ¶ added in v0.0.3
type Receiver ¶ added in v0.0.2
type Receiver struct { Endpoint string // contains filtered or unexported fields }
type TelemetryBuffering ¶ added in v0.0.4
type TelemetryDestination ¶ added in v0.0.4
type TelemetryEvent ¶ added in v0.0.4
type TelemetryEvent struct { Time string `json:"time"` Type string `json:"type"` Record *json.RawMessage `json:"record"` }
type TelemetrySubscription ¶ added in v0.0.4
type TelemetrySubscription struct { SchemaVersion string `json:"schemaVersion"` Types []string `json:"types"` Buffering TelemetryBuffering `json:"buffering"` Destination TelemetryDestination `json:"destination"` }
func NewTelemetrySubscription ¶ added in v0.0.4
func NewTelemetrySubscription(endpoint string) *TelemetrySubscription
Click to show internal directories.
Click to hide internal directories.