Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderError ¶
func RenderSuccess ¶
Types ¶
type ErrorDetail ¶
type ErrorEnvelope ¶
type ErrorEnvelope struct {
OK bool `json:"ok"`
Error ErrorDetail `json:"error"`
Notice map[string]any `json:"_notice,omitempty"`
Meta Meta `json:"meta"`
}
type IdentityMeta ¶
type Meta ¶
type Meta struct {
Version string `json:"version"`
Identity *IdentityMeta `json:"identity,omitempty"`
DryRun bool `json:"dry_run"`
Format string `json:"format"`
}
type SuccessEnvelope ¶
Click to show internal directories.
Click to hide internal directories.