Files
houston/server/monitor.go

23 lines
410 B
Go
Raw Normal View History

2023-05-21 23:37:54 +09:00
package server
import (
"context"
2023-05-22 02:13:03 +09:00
"repositories.action2quare.com/ayo/houston/shared/protos"
2023-05-21 23:37:54 +09:00
)
type monitorServer struct {
protos.UnimplementedMonitorServer
}
func newMonitorServer() *monitorServer {
return &monitorServer{}
}
func (ms *monitorServer) Report(ctx context.Context, metrics *protos.Metrics) (*protos.Empty, error) {
select {
case <-ctx.Done():
default:
}
return &protos.Empty{}, nil
}