mirror of
https://github.com/go-gost/plugin.git
synced 2026-10-20 17:24:35 +00:00
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.