Commit Graph

46 Commits

Author SHA1 Message Date
7592eae318 Handle requests concurrently 2022-08-06 22:52:58 -07:00
d35a16ec64 Remove now useless internal/reflectutil 2022-08-06 22:49:12 -07:00
e02c8bc5ff Marshal/Unmarshal arguments and return values separately to allow struct tags to take effect for each codec 2022-08-06 22:48:42 -07:00
5e61e89ac1 Add LRPCClient.getObject() 2022-06-03 17:59:58 -07:00
205e0b71e4 Actually skip LRPCChannel.close() this time 2022-06-03 14:36:34 -07:00
1e627b833e Skip LRPCChannel send(), done(), and close() if already closed 2022-06-03 12:33:03 -07:00
368c7333c5 Use callMethod() because call() is reserved 2022-06-02 18:54:00 -07:00
1e8e304f01 Remove unneeded array 2022-06-02 18:35:22 -07:00
acf262b4f0 Exclude delete transformation from functions filter 2022-06-02 18:27:41 -07:00
8843e7faa9 Mention web client in README 2022-06-02 14:14:18 -07:00
328be35ae2 Add web client 2022-06-02 14:09:27 -07:00
6ee3602128 Fix reflectutils.Convert() for maps and []any 2022-06-02 02:09:47 -07:00
e518b68d8c Return error if expected argument not provided 2022-06-02 02:09:07 -07:00
771c8c136e fix time.Ticker leak 2022-05-28 14:58:39 -07:00
c0a1c3bf43 Add channel test to lrpc 2022-05-28 14:52:00 -07:00
eadee97e5e Add tests 2022-05-26 13:32:19 -07:00
a12224c997 Add error for unexpected arguments 2022-05-26 13:01:29 -07:00
fbae725040 Add (*Server).HandleConn() 2022-05-16 15:42:15 -07:00
bc7aa0fe5b Propagate parent value to request context 2022-05-12 17:15:43 -07:00
3bcc01fdb6 Propagate context to requests 2022-05-12 17:13:44 -07:00
af77b121f8 Fix bug where the connection handler tries to access a channel before it has been created 2022-05-10 02:07:35 -07:00
349123fe25 Set module go version to 1.17 2022-05-07 21:41:51 -07:00
a7a2dc3270 Use Convert() for arrays in reflectutil.ConvertSlice() 2022-05-07 15:02:06 -07:00
f609d5a97f Add introspection functions 2022-05-07 14:59:04 -07:00
ff5f211a83 Use type uint8 to replace boolean fields in response 2022-05-07 14:01:10 -07:00
b1e7ded874 Resolve data races using mutex 2022-05-04 16:15:35 -07:00
7ef9e56505 Fix conversion to pointer 2022-05-03 18:54:39 -07:00
1269203c08 Handle pointer types in reflectutil.Convert() 2022-05-03 18:47:49 -07:00
5e99a66007 Use io.ReadWriteCloser instead of net.Conn in client 2022-05-02 16:24:50 -07:00
4d0c9da4d9 Add comments for ServeWS 2022-05-02 14:48:45 -07:00
a0d167ff75 Add WebSocket server support 2022-05-02 14:47:00 -07:00
bbc9774a96 Make *Context compliant with context.Context 2022-05-01 21:39:16 -07:00
f0f9422fef Add GPLv3 copyright headers 2022-05-01 21:30:00 -07:00
1ae94dc4c4 Clarify README 2022-05-01 21:27:14 -07:00
f1aa0f5c4f Fix call to lrpc.ChannelDone 2022-05-01 15:17:46 -07:00
b53388122c Use context to stop sending values rather than trying to detect channel close 2022-05-01 15:13:07 -07:00
6df8cf53c6 Don't close channel if it's already closed 2022-05-01 13:54:36 -07:00
72068efb4d Don't close channel on context cancel, it is already closed 2022-05-01 11:42:42 -07:00
91933b798d Run gofmt 2022-05-01 11:34:50 -07:00
888d5902ae Implement server to client ChannelDone 2022-05-01 11:33:55 -07:00
073ebbd8ba Call Convert() in ConvertSlice() to ensure proper conversion of maps and nested slices 2022-05-01 03:25:32 -07:00
cdaa7e88a6 Use reflectutil to convert argument if type does not match 2022-05-01 02:38:54 -07:00
f031e32a25 Add Go Report Card badge 2022-05-01 02:10:56 -07:00
06b5e07b8a Fix go1.17 compatibility 2022-05-01 02:09:29 -07:00
8be1fd2348 Run gofmt and add badge to readme 2022-05-01 01:50:20 -07:00
3a91648f70 Initial Commit 2022-05-01 01:39:22 -07:00