Derrick Hammer
|
cd50bf0b39
|
refactor: add a rw mutex lock to all getter/setter methods
|
2024-03-11 17:38:24 -04:00 |
Derrick Hammer
|
fc31653050
|
refactor: add SetIP and optionally return it if it exists in the ws peer
|
2024-03-10 08:54:22 -04:00 |
Derrick Hammer
|
4db7430abe
|
feat: implement GetIP as a net.Addr
|
2024-03-10 07:19:49 -04:00 |
Derrick Hammer
|
5f5b522e68
|
refactor: change GetIP to GetIPString
|
2024-03-10 07:16:37 -04:00 |
Derrick Hammer
|
238f78b556
|
testing: remove mocks for now
|
2024-01-29 00:23:42 -05:00 |
Derrick Hammer
|
1b6925c296
|
refactor: change abused to abuser
|
2024-01-15 13:50:04 -05:00 |
Derrick Hammer
|
944067522a
|
feat: add abused to peer so we can know when a peer has abused us and not log errors for them
|
2024-01-15 13:36:13 -05:00 |
Derrick Hammer
|
fc10a265a7
|
feat: implement GetIP
|
2024-01-15 11:15:11 -05:00 |
Derrick Hammer
|
883f50b198
|
feat: add incoming and outgoing peer blocking to handle abuse
|
2024-01-15 10:54:31 -05:00 |
Derrick Hammer
|
3d41119f74
|
fix: add a new property on messages and peers to prevent messages from being processed before the handshake is done
|
2024-01-13 11:22:01 -05:00 |
Derrick Hammer
|
b41c763be8
|
refactor: add getter/setter for isConnected connectionURIs
|
2024-01-08 09:52:57 -05:00 |
Derrick Hammer
|
a785031255
|
refactor: add getter/setter for isConnected
|
2024-01-08 08:44:47 -05:00 |
Derrick Hammer
|
33e2ef0d61
|
test: need to generate mock for peer
|
2024-01-08 05:32:06 -05:00 |
Derrick Hammer
|
2e9b07c6bd
|
refactor: dont use pointers with interfaces
|
2024-01-07 06:47:01 -05:00 |
Derrick Hammer
|
52b7426a7a
|
refactor: change how we manage peers, create getter/setters on Peer/BasePeer, and refactor WebSocketPeer to use new ws package and add Connect/NewPeer
|
2024-01-07 06:33:32 -05:00 |
Derrick Hammer
|
8c29a284ce
|
feat: wip networking
|
2024-01-06 06:34:15 -05:00 |