Documentation
¶
Overview ¶
Package protocol defines the JSON contract between Questlock and its clients.
Index ¶
Constants ¶
View Source
const MaxContentBytes = 1 << 20
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditEvent ¶
type AuditEvent struct {
ID int64 `json:"id"`
AgentID string `json:"agent_id"`
Scope string `json:"scope"`
Key string `json:"key"`
OperationID string `json:"operation_id"`
Outcome string `json:"outcome"`
ExpectedVersion int64 `json:"expected_version"`
CurrentVersion int64 `json:"current_version"`
CreatedAt string `json:"created_at"`
}
type PublishRequest ¶
type PublishResult ¶
Click to show internal directories.
Click to hide internal directories.