package bootnodezap // Client is the typed handle other subsystems use to talk to // Bootnode. zapc emits two implementations: an in-process one that // forwards to a Server.Impl(), and an RPC one that frames ZAP over the // wire. The hand-rolled stub here is just the in-process variant — it // keeps the package buildable before zapc has been run. // // Per HIP-0106 the same Client interface serves both modes; superbase // hands the in-process Client to its sibling subsystems and never // looks at the wire side. type Client = Service // NewInProcessClient returns a typed handle backed by a local Server. func NewInProcessClient(srv *Server) Client { return srv.Impl() }