Documentation ¶
Index ¶
- type Service
- func (s *Service) Cache() iface.Cache
- func (s *Service) CheckTns(matcherIface commonIface.MatchDefinition) ([]commonIface.Serviceable, error)
- func (s *Service) Close() error
- func (s *Service) Context() context.Context
- func (s *Service) Discover(ctx context.Context, max int, timeout time.Duration) ([]peer.AddrInfo, error)
- func (s *Service) Handle(cmd *command.Command) (resp response.Response, err error)
- func (srv *Service) LookupService(matcher *iface.MatchDefinition) (*structureSpec.Service, string, error)
- func (srv *Service) StartStream(name, protocol string, handler iface.StreamHandler) (iface.CommandService, error)
- func (srv *Service) Stream(ctx context.Context, projectID, applicationID, protocol string) (iface.Stream, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
func (*Service) CheckTns ¶
func (s *Service) CheckTns(matcherIface commonIface.MatchDefinition) ([]commonIface.Serviceable, error)
func (*Service) LookupService ¶
func (srv *Service) LookupService(matcher *iface.MatchDefinition) (*structureSpec.Service, string, error)
func (*Service) StartStream ¶
func (srv *Service) StartStream(name, protocol string, handler iface.StreamHandler) (iface.CommandService, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.