From f398c9659e76bb81e55a3f5b494366989b158233 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Tue, 15 Aug 2023 19:18:21 -0600 Subject: [PATCH] Removed LinkStartSignal --- gql_test.go | 1 - signal.go | 9 --------- 2 files changed, 10 deletions(-) diff --git a/gql_test.go b/gql_test.go index a995762..7bac95e 100644 --- a/gql_test.go +++ b/gql_test.go @@ -42,7 +42,6 @@ func TestGQLServer(t *testing.T) { group_policy_2 := NewMemberOfPolicy(map[NodeID]Tree{ gql_id: Tree{ LinkSignalType.String(): nil, - LinkStartSignalType.String(): nil, LockSignalType.String(): nil, StatusSignalType.String(): nil, ReadSignalType.String(): nil, diff --git a/signal.go b/signal.go index eedae68..9057800 100644 --- a/signal.go +++ b/signal.go @@ -25,7 +25,6 @@ const ( LockSignalType = SignalType("LOCK") ReadSignalType = SignalType("READ") ReadResultSignalType = SignalType("READ_RESULT") - LinkStartSignalType = SignalType("LINK_START") ECDHSignalType = SignalType("ECDH") ECDHProxySignalType = SignalType("ECDH_PROXY") ACLTimeoutSignalType = SignalType("ACL_TIMEOUT") @@ -240,14 +239,6 @@ func NewLinkSignal(state string, id NodeID) Signal { } } -func NewLinkStartSignal(link_type string, target NodeID) Signal { - return &IDStringSignal{ - NewBaseSignal(LinkStartSignalType, Direct), - target, - link_type, - } -} - func NewLockSignal(state string) Signal { return &StringSignal{ NewBaseSignal(LockSignalType, Direct),