8 Commits
Author SHA1 Message Date
ginuerzh cba3f64b43 namespace proto file registrations to fix global registry collisions
Regenerate all protos from the module root with full relative paths so
descriptors register as e.g. auth/proto/auth.proto instead of bare
auth.proto. The protobuf file registry is process-global, so generic
filenames collided with other libraries and panicked at init
(proto: file "auth.proto" is already registered, #3).

Go API and wire format unchanged.
2026-09-05 22:23:11 +08:00
ginuerzh 18cd71e613 drop go-gost/x dependency from hop examples
The two hop examples imported x/config only for the NodeConfig type to
build demo nodes, dragging x (and its viper dependency tree) under the
plugin SDK — inverting the x -> plugin layering and one pin-bump away
from a package import cycle. The node payload is plain JSON on the
wire, so the examples now use local struct types with the same JSON
shape. go.mod shrinks to grpc + protobuf.
2026-09-05 20:52:07 +08:00
ginuerzh b76208b1e0 update router 2025-02-08 23:04:47 +08:00
ginuerzh 20ced6222a fix hop http plugin example 2024-01-27 21:28:52 +08:00
ginuerzh bfe81cbb44 add traffic limiter plugin 2023-11-18 18:26:15 +08:00
ginuerzh 0ae4157b9d add path option for hop 2023-11-09 20:33:46 +08:00
ginuerzh bc86458bf2 update example 2023-09-30 17:49:33 +08:00
ginuerzh 8bc0679b5c add hop plugin 2023-09-28 21:02:11 +08:00