|
|
@ -161,7 +161,7 @@ func NewErrorSignal(req_id uuid.UUID, err error) ErrorSignal {
|
|
|
|
|
|
|
|
|
|
|
|
type IDSignal struct {
|
|
|
|
type IDSignal struct {
|
|
|
|
BaseSignal
|
|
|
|
BaseSignal
|
|
|
|
ID NodeID `json:"id"`
|
|
|
|
NodeID `json:"id"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (signal IDSignal) Serialize() ([]byte, error) {
|
|
|
|
func (signal IDSignal) Serialize() ([]byte, error) {
|
|
|
@ -179,7 +179,7 @@ func (signal IDSignal) String() string {
|
|
|
|
func NewIDSignal(signal_type SignalType, direction SignalDirection, id NodeID) IDSignal {
|
|
|
|
func NewIDSignal(signal_type SignalType, direction SignalDirection, id NodeID) IDSignal {
|
|
|
|
return IDSignal{
|
|
|
|
return IDSignal{
|
|
|
|
BaseSignal: NewBaseSignal(signal_type, direction),
|
|
|
|
BaseSignal: NewBaseSignal(signal_type, direction),
|
|
|
|
ID: id,
|
|
|
|
NodeID: id,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|