Commit Graph

17 Commits

Author SHA1 Message Date
b26b0512f2 Move all types in tcpclient to types.go 2024-10-23 12:40:36 +03:00
ecb6e12425 Move all types in tcpserver to types.go 2024-10-23 12:40:36 +03:00
6e244be880 Add MessageEndRune and MessageSplitRune with default and customizable ServerHandlerFunc 2024-10-22 21:02:14 +03:00
7338bc69fa Add PreHandlerClientFunc and PostHandlerClientFunc to Server struct 2024-10-22 17:43:30 +03:00
028dc99fc2 Fix typo newCLient to newClient 2024-10-22 17:42:30 +03:00
ad9863d2c8 Add server logging 2024-10-19 22:55:35 +03:00
e94bbb8901 Add errors check if ErrorChannel or ErrorResolver is nil on StartClient 2024-10-12 12:35:14 +03:00
6bb8dc19b1 Add Options for CreateClient func 2024-10-12 12:34:47 +03:00
374e3984ce Add type ErrorResolverFunc func(errors chan error) 2024-10-12 12:34:24 +03:00
2e7e0bf512 Fix error by changing signature of GetDefaultConfig() func in tcpclient 2024-10-12 12:33:54 +03:00
0fecb28b58 Add sending errors to ErrorsChannel 2024-10-12 12:33:12 +03:00
45f08adff3 Change tcpclient API 2024-10-12 12:32:38 +03:00
64e6494ff8 Update tcpserver API 2024-10-11 09:24:32 +03:00
78b04e2f0c Add examples folder with ping-pong example and Makefile 2024-10-10 08:32:41 +03:00
1e395f69ef Add Default working tcp files 2024-10-10 08:17:51 +03:00
9b6eb1b5d5 Add go.mod file 2024-10-10 08:16:00 +03:00
5b0297b7eb Add gitignore 2024-10-10 08:15:21 +03:00