uil

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: AGPL-3.0-or-later Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

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