Documentation ¶
Index ¶
- Variables
- func Administration(w http.ResponseWriter, r *http.Request)
- func CheckService()
- func GetAllServices(w http.ResponseWriter, r *http.Request)
- func InitGetResponseAllData() error
- func OnceInitAllData() error
- func StartSevice(w http.ResponseWriter, r *http.Request)
- func StopService(w http.ResponseWriter, r *http.Request)
- func UpdateState(s *service.Service)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Administration ¶
func Administration(w http.ResponseWriter, r *http.Request)
Administration hadlrer for install service to host. Nor auto runnable
func CheckService ¶
func CheckService()
CheckService - The function to check the status of web services. Performs a GET request at the of each service. if available, sets the service in the status Run.
func GetAllServices ¶
func GetAllServices(w http.ResponseWriter, r *http.Request)
GetAllServices - handle for response all services
func InitGetResponseAllData ¶
func InitGetResponseAllData() error
InitGetResponseAllData - init gorutune for get actual status once in the minute
func StartSevice ¶
func StartSevice(w http.ResponseWriter, r *http.Request)
StartSevice - handle for start services and update him status
func StopService ¶
func StopService(w http.ResponseWriter, r *http.Request)
StopService - handle for stop services and update him status
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.