sshpiper/libplugin
Boshi Lian 7fdd88982a
introduce uri for flexable upstream conn (#615)
* Deprecate host and port fields in Upstream message; introduce uri field for connection details

* Update libplugin/plugin.proto

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* refactor(grpc): streamline upstream connection handling and add GetOrGenerateUri method

* refactor(libplugin): update GetOrGenerateUri to return error and add IPv6 test

* refactor(libplugin): simplify GetOrGenerateUri to remove error return and update tests

* Update cmd/sshpiperd/internal/plugin/grpc.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-30 15:18:57 -07:00
..
ioconn Fix linting issues (#595) 2025-05-18 00:59:18 -07:00
skel extract skel into its own package (#596) 2025-05-23 12:42:44 -07:00
doc.go libplugin 2022-07-04 16:49:50 +00:00
plugin.pb.go introduce uri for flexable upstream conn (#615) 2025-06-30 15:18:57 -07:00
plugin.proto introduce uri for flexable upstream conn (#615) 2025-06-30 15:18:57 -07:00
plugin_ext.go introduce uri for flexable upstream conn (#615) 2025-06-30 15:18:57 -07:00
plugin_ext_test.go introduce uri for flexable upstream conn (#615) 2025-06-30 15:18:57 -07:00
plugin_grpc.pb.go Add PipeCreateErrorCallback to handle pipe creation errors (#290) 2023-12-24 03:54:49 -08:00
pluginbase.go Refactor plugin.proto and pluginbase.go to add support for metadata in connection context (#475) 2024-10-27 23:57:21 -07:00
template.go Make the log formatter configurable (#371) 2024-05-08 15:11:18 -07:00
util.go extract skel into its own package (#596) 2025-05-23 12:42:44 -07:00