Documentation ¶
Index ¶
- type ProcgoServer
- func (s *ProcgoServer) KillAll(_ context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)
- func (s *ProcgoServer) List(_ context.Context, _ *emptypb.Empty) (*proto.Services, error)
- func (s *ProcgoServer) Logs(definitions *proto.AllOrServices, stream proto.Procgo_LogsServer) error
- func (s *ProcgoServer) Ping(_ context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)
- func (s *ProcgoServer) Restart(_ context.Context, definitions *proto.Services) (*emptypb.Empty, error)
- func (s *ProcgoServer) Start(_ context.Context, definitions *proto.Services) (*emptypb.Empty, error)
- func (s *ProcgoServer) Stop(_ context.Context, definitions *proto.Services) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcgoServer ¶
type ProcgoServer struct { proto.UnimplementedProcgoServer Services []*pkg.Service NewServiceChan chan *pkg.Service // ErrChan is used as done channel as well if error is nil ErrChan chan error KillChan chan os.Signal }
func NewProcgoServer ¶
func NewProcgoServer() ProcgoServer
func (*ProcgoServer) Logs ¶
func (s *ProcgoServer) Logs(definitions *proto.AllOrServices, stream proto.Procgo_LogsServer) error
Click to show internal directories.
Click to hide internal directories.