Documentation ¶
Index ¶
- type Client
- type Server
- func (s *Server) GetInterfaces(ctx context.Context) ([]*rpc.Interface, error)
- func (s *Server) GetServices(ctx context.Context) ([]config.ServiceID, error)
- func (s *Server) GetVersion(ctx context.Context) (string, error)
- func (s *Server) Run(ctx context.Context) error
- func (s *Server) Shutdown(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *grpc.ClientConn // contains filtered or unexported fields }
func (*Client) GetInterfaces ¶
func (*Client) GetServices ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(serviceManager *services.ServiceManager, socket string, shutdown context.CancelFunc, version string) *Server
func (*Server) GetInterfaces ¶
func (*Server) GetServices ¶
Click to show internal directories.
Click to hide internal directories.