Versions in this module Expand all Collapse all v0 v0.1.1 Aug 14, 2024 Changes in this version + type Broadcast struct + func NewBroadcast[T target.Portal_](port target.Port, _ *sig.Map[string, T]) *Broadcast + func (b *Broadcast) BroadcastMsg(ctx context.Context, conn rpc.Conn) + type Client struct + func NewClient(port target.Port) (sender *Client) + func (s *Client) Close() (err error) + func (s *Client) Connect(ctx context.Context, portal target.Portal_) (err error) + func (s *Client) Init(reloader Reloader, apphost target.ApphostCache) *Client + func (s *Client) Send(msg target.Msg) (err error) + type Handler struct + func NewHandler(reloader Reloader, apphost target.ApphostCache) *Handler + func (s *Handler) HandleMsg(ctx context.Context, msg target.Msg) + type Reloader interface + Reload func() error