Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProtocolVersion = "UIP-0.5-PQ" SubstrateAuto = "SUBSTRATE_AUTO" SubstrateRadeonVulkan = "RADEON_840M_VULKAN" SubstrateNvidiaCUDA = "NVIDIA_RTX_CUDA" SubstrateHailoNPU = "HAILO8_NPU" SubstrateMemryXNPU = "MEMRYX_NPU" SubstrateXDNA2NPU = "AMD_XDNA2_NPU" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UILEnvelope ¶
type UILEnvelope struct {
ProtocolVersion string `json:"protocol_version"`
EnvelopeID string `json:"envelope_id"`
SourceNode string `json:"source_node"`
TargetNode string `json:"target_node,omitempty"`
Timestamp string `json:"timestamp"`
ImportanceScore float64 `json:"importance_score"`
SubstrateTarget string `json:"substrate_target"`
HashAlg string `json:"hash_alg"`
ProofCommitment string `json:"proof_commitment,omitempty"`
PQSignature string `json:"pq_signature,omitempty"`
Payload map[string]interface{} `json:"payload"`
}
func NewEnvelope ¶
func NewEnvelope(sourceNode, targetNode, substrate string, payload map[string]interface{}) *UILEnvelope
func (*UILEnvelope) Validate ¶
func (e *UILEnvelope) Validate() error
Click to show internal directories.
Click to hide internal directories.