github.com/algorand/go-algorand-sdk@v1.24.0/client/v2/common/models/health_check.go (about)

     1  package models
     2  
     3  // HealthCheck a health check response.
     4  type HealthCheck struct {
     5  	// Data
     6  	Data *map[string]interface{} `json:"data,omitempty"`
     7  
     8  	// DbAvailable
     9  	DbAvailable bool `json:"db-available"`
    10  
    11  	// Errors
    12  	Errors []string `json:"errors,omitempty"`
    13  
    14  	// IsMigrating
    15  	IsMigrating bool `json:"is-migrating"`
    16  
    17  	// Message
    18  	Message string `json:"message"`
    19  
    20  	// Round
    21  	Round uint64 `json:"round"`
    22  
    23  	// Version current version.
    24  	Version string `json:"version"`
    25  }