Documentation ¶
Index ¶
- func CheckAppStatus(c *gin.Context)
- func FetchMetrics(ctx context.Context, appName string, requests chan SaveRequest) (map[string]*db.ParsedData, []string, error)
- func GetDB(appName string) (*sql.DB, error)
- func HandleSyncOperation(c *gin.Context, appName string, syncValue int, queryType string)
- func InitDatabase()
- type SaveRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAppStatus ¶
func FetchMetrics ¶
func FetchMetrics(ctx context.Context, appName string, requests chan SaveRequest) (map[string]*db.ParsedData, []string, error)
func HandleSyncOperation ¶
func InitDatabase ¶
func InitDatabase()
Types ¶
type SaveRequest ¶
type SaveRequest struct {
// contains filtered or unexported fields
}
Define a struct for save requests
Click to show internal directories.
Click to hide internal directories.