Documentation
¶
Index ¶
- type NodeService
- type Server
- func (s *Server) Activate()
- func (s *Server) Close() error
- func (s *Server) Get(addr, service string) (rpcutil.Client, error)
- func (s *Server) GetServices(name string) (rpcutil.Clients, error)
- func (s *Server) Join(addr string) error
- func (s *Server) Leave(addr string) error
- func (s *Server) LeaveAll() error
- func (s *Server) Name() string
- func (s *Server) Peers() []string
- func (s *Server) Provides() []string
- func (s *Server) Rcvr() interface{}
- func (s *Server) Register(svc services.Service) error
- func (s *Server) RegisterName(name string, svc services.Service) error
- func (s *Server) SelfAddr() string
- func (s *Server) ServeHTTP(w http.ResponseWriter, req *http.Request)
- func (s *Server) SetNSFactory(factory func() (rpcutil.Client, error))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeService ¶
type NodeService struct {
// contains filtered or unexported fields
}
NodeService Remote Stub
func (*NodeService) Invite ¶
func (ns *NodeService) Invite(nsAddr string, none *struct{}) error
Invite ...
type Server ¶
Server ...
func (*Server) GetServices ¶
GetServices ...
func (*Server) RegisterName ¶
RegisterName ...
Click to show internal directories.
Click to hide internal directories.