Implement CheckCle Microservice Operation

A Go-based microservice for service operations including ICMP ping, DNS resolution, and TCP connectivity
This commit is contained in:
Tola Leng
2025-06-19 17:49:30 +07:00
parent 89572c44b7
commit d3ea5dc77c
36 changed files with 2895 additions and 0 deletions
@@ -0,0 +1,19 @@
package handlers
import (
"service-operation/config"
"service-operation/pocketbase"
)
type OperationHandler struct {
config *config.Config
pbClient *pocketbase.PocketBaseClient
}
func NewOperationHandler(cfg *config.Config, pbClient *pocketbase.PocketBaseClient) *OperationHandler {
return &OperationHandler{
config: cfg,
pbClient: pbClient,
}
}