package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Apr 20, 2020
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
With serialize the data with matching requested encoding
WithError serialize an error
type Resource struct {
Context string `json:"@context,omitempty"`
Type string `json:"@type,omitempty"`
ID string `json:"@id,omitempty"`
}
Resource describes a JSON-LD resource header
type Status struct {
*Resource `json:",inline"`
Code int `json:"code"`
Message string `json:"message"`
}
Status describe a resource to represent an operational status
Source Files
¶
Click to show internal directories.
Click to hide internal directories.