Versions in this module Expand all Collapse all v1 v1.0.0 Jun 19, 2022 Changes in this version + type Client struct + func NewClient(client appsenderproto.AppSenderClient) *Client + func (c *Client) SendAppGossip(msg []byte) error + func (c *Client) SendAppGossipSpecific(nodeIDs ids.ShortSet, msg []byte) error + func (c *Client) SendAppRequest(nodeIDs ids.ShortSet, requestID uint32, request []byte) error + func (c *Client) SendAppResponse(nodeID ids.ShortID, requestID uint32, response []byte) error + type Server struct + func NewServer(appSender common.AppSender) *Server + func (s *Server) SendAppGossip(_ context.Context, req *appsenderproto.SendAppGossipMsg) (*emptypb.Empty, error) + func (s *Server) SendAppGossipSpecific(_ context.Context, req *appsenderproto.SendAppGossipSpecificMsg) (*emptypb.Empty, error) + func (s *Server) SendAppRequest(_ context.Context, req *appsenderproto.SendAppRequestMsg) (*emptypb.Empty, error) + func (s *Server) SendAppResponse(_ context.Context, req *appsenderproto.SendAppResponseMsg) (*emptypb.Empty, error)