Versions in this module Expand all Collapse all v0 v0.0.1 Jul 5, 2019 Changes in this version + func NewServer(ctx context.Context, wg *sync.WaitGroup, service Service, protocol, url string, ...) error + type Client struct + func NewClient(certPath, authKey, url string) (*Client, error) + func (c *Client) Close() error + type Server struct + type Service struct + func NewService(ps *ps.PubSub, sd *discovery.RoutingDiscovery, h host.Host, ...) Service + func (s *Service) GetTopics(ctx context.Context, req *pb.Empty) (*pb.TopicsResponse, error) + func (s *Service) ListPeers(ctx context.Context, req *pb.ListPeersRequest) (*pb.ListPeersResponse, error) + func (s *Service) Publish(stream pb.PubSubService_PublishServer) error + func (s *Service) Subscribe(req *pb.SubscribeRequest, stream pb.PubSubService_SubscribeServer) error