protocol

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package protocol owns the WebSocket command envelope shared by the server composition root and its domain modules.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Frame

type Frame struct {
	ID             string          `json:"id,omitempty"`
	Op             string          `json:"op"`
	MaxInFlight    int             `json:"maxInFlight,omitempty"`
	Token          string          `json:"token,omitempty"`
	IdempotencyKey string          `json:"idempotencyKey,omitempty"`
	Key            string          `json:"key,omitempty"`
	Event          string          `json:"event,omitempty"`
	After          string          `json:"after,omitempty"`
	At             string          `json:"at,omitempty"`
	Every          string          `json:"every,omitempty"`
	Daily          string          `json:"daily,omitempty"`
	Timezone       string          `json:"timezone,omitempty"`
	Until          string          `json:"until,omitempty"`
	By             string          `json:"by,omitempty"`
	Cooldown       string          `json:"cooldown,omitempty"`
	Data           json.RawMessage `json:"data,omitempty"`
	Chain          json.RawMessage `json:"chain,omitempty"`
	Name           string          `json:"name,omitempty"`
	Namespace      string          `json:"namespace,omitempty"`
	ApplicationID  string          `json:"applicationId,omitempty"`
	Workflow       string          `json:"workflow,omitempty"`
	Correlation    string          `json:"correlationKey,omitempty"`
	Calendar       string          `json:"calendar,omitempty"`
	LocalTime      string          `json:"localTime,omitempty"`
	MissedPolicy   string          `json:"missedPolicy,omitempty"`
	DeliveryID     string          `json:"deliveryId,omitempty"`
	URL            string          `json:"url,omitempty"`
	Secret         string          `json:"secret,omitempty"`
	TokenID        string          `json:"tokenId,omitempty"`
	SubjectType    string          `json:"subjectType,omitempty"`
	SubjectID      string          `json:"subjectId,omitempty"`
	Status         string          `json:"status,omitempty"`
	Before         int64           `json:"before,omitempty"`
}

type Reply

type Reply struct {
	ID    string `json:"id,omitempty"`
	OK    bool   `json:"ok"`
	Data  any    `json:"data,omitempty"`
	Error string `json:"error,omitempty"`
}

Jump to

Keyboard shortcuts

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