diff options
author | bptato <nincsnevem662@gmail.com> | 2024-09-15 18:41:20 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-09-15 19:13:08 +0200 |
commit | b7ac2954a90e44fd727c770c47e8f9706b40004f (patch) | |
tree | c058565a825d89d1364067fd1c54718e8830db0d /src/local/client.nim | |
parent | 9f453ca3997528252eb28268e38480f58fbce4f6 (diff) | |
download | chawan-b7ac2954a90e44fd727c770c47e8f9706b40004f.tar.gz |
loader: refactor/move around some procs
Module boundaries didn't make much sense here either. Specifically: * loader/cgi was originally just one of the many "real" protocols supported by loader, so it was in a separate module (like the other ones). Now it's mostly an "internal" protocol, and it was getting cumbersome to pass all required loader state to loadCGI. * The loader interface has grown quite large, but there is no need for (or advantage in) putting it in the same module as the implementation. Now CGI is handled by loader, and the interface is in the new module "loaderiface".
Diffstat (limited to 'src/local/client.nim')
-rw-r--r-- | src/local/client.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/local/client.nim b/src/local/client.nim index b8e131f8..bf276aa3 100644 --- a/src/local/client.nim +++ b/src/local/client.nim @@ -28,8 +28,9 @@ import js/intl import js/jsmodule import js/timeout import loader/headers -import loader/loader +import loader/loaderiface import loader/request +import loader/response import local/container import local/lineedit import local/pager |