Versions in this module Expand all Collapse all v0 v0.1.1 Nov 13, 2025 Changes in this version + func CloneMetadata(src map[string]string) map[string]string + type CHIMessageType string + const CHIMsgComp + const CHIMsgData + const CHIMsgReq + const CHIMsgResp + const CHIMsgSnp + const CHIMsgSnpResp + type CHIResponseType string + const CHIRespCompAck + const CHIRespCompData + const CHIRespSnpData + const CHIRespSnpInvalid + const CHIRespSnpNoData + type CHITransactionType string + const CHITxnReadNoSnp + const CHITxnReadOnce + const CHITxnWriteNoSnp + const CHITxnWriteUnique + type CacheState string + const CacheStateInvalid + const CacheStateShared + const CacheStateUnique + type CacheStateTransition struct + Cycle int + FromState CacheState + Reason string + ToState CacheState + type DependencyType string + const DepCacheEvict + const DepCacheInvalidate + const DepCacheMiss + const DepCausal + const DepDirectoryQuery + const DepDirectoryUpdate + const DepGlobalOrdering + const DepResourceContention + const DepSameAddrOrdering + type DirectoryOperation struct + Address uint64 + Cycle int + Operation string + type DirectoryState string + const DirectoryStateExclusive + const DirectoryStateInvalid + const DirectoryStateShared + type EdgeKey struct + FromID int + ToID int + type MESIState string + const MESIExclusive + const MESIInvalid + const MESIModified + const MESIShared + func (s MESIState) CanProvideData() bool + func (s MESIState) IsValid() bool + type NodeInfo struct + ID int + Label string + Type NodeType + type NodeType string + const NodeTypeHN + const NodeTypeRN + const NodeTypeSN + type OrderingDecision struct + Cycle int + Decision string + RelatedTxns []int64 + type Packet struct + Address uint64 + CompletedAt int + DataSize int + DstID int + GeneratedAt int + ID int64 + MasterID int + MessageType CHIMessageType + Metadata map[string]string + OriginalTxnID int64 + ParentPacketID int64 + ReceivedAt int + RequestID int64 + ResponseType CHIResponseType + SentAt int + SnoopTargetID int + SrcID int + TransactionID int64 + TransactionType CHITransactionType + Type string + func (p *Packet) DeleteMetadata(key string) + func (p *Packet) GetMetadata(key string) (string, bool) + func (p *Packet) SetMetadata(key, value string) + type PacketEvent struct + Cycle int + EdgeKey *EdgeKey + EventType PacketEventType + Metadata map[string]string + NodeID int + NodeLabel string + PacketID int64 + ParentPacketID int64 + Sequence int64 + TransactionID int64 + type PacketEventType string + const PacketDequeued + const PacketEnqueued + const PacketGenerated + const PacketInTransitEnd + const PacketProcessingEnd + const PacketProcessingStart + const PacketReceived + const PacketSent + type PacketInfo struct + Address uint64 + CompletedAt int + DataSize int + DstID int + GeneratedAt int + ID int64 + MasterID int + MessageType CHIMessageType + Metadata map[string]string + ReceivedAt int + RequestID int64 + ResponseType CHIResponseType + SentAt int + SrcID int + TransactionID int64 + TransactionType CHITransactionType + Type string + type Position struct + X float64 + Y float64 + type QueueInfo struct + Capacity int + Length int + Name string + Packets []PacketInfo + type StateTransition struct + Cycle int + FromState TransactionState + Reason string + RelatedTxnID *int64 + ToState TransactionState + type TimeRange struct + End int + Start int + type Transaction struct + Context *TransactionContext + type TransactionContext struct + Address uint64 + CompletedAt int + GeneratedTransactions []int64 + GlobalOrdering []int64 + InitiatedAt int + Metadata map[string]string + SameAddrOrdering []int64 + State TransactionState + StateHistory []StateTransition + TransactionID int64 + TransactionType CHITransactionType + type TransactionDependency struct + Cycle int + DependencyType DependencyType + FromTransactionID int64 + Reason string + ToTransactionID int64 + type TransactionState string + const TxStateAborted + const TxStateCompleted + const TxStateInFlight + const TxStateInitiated + type TransactionTimeline struct + Events []*PacketEvent + Nodes []NodeInfo + Packets []PacketInfo + TimeRange TimeRange + TransactionID int64 v0.1.0 Nov 12, 2025