Documentation
¶
Index ¶
- func GetStat() (*cpuStat, error)
- type Worker
- func (w *Worker) GetStats(_ context.Context, _ *connect.Request[emptypb.Empty]) (*connect.Response[maxcpu.StatsResponse], error)
- func (*Worker) Hello(_ context.Context, _ *connect.Request[emptypb.Empty]) (*connect.Response[maxcpu.HelloResponse], error)
- func (w *Worker) IdleTime() int64
- func (w *Worker) Run()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.