Version: v0.0.0-...-9e745d5 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 15 Imported by: 1




This section is empty.


View Source
var (
	HostsAndUsers sync.Map
	AllService    = make(map[int64]service.Service)


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 OnceInitAllData

func OnceInitAllData() error

OnceInitAllData func for update init data

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

func UpdateState

func UpdateState(s *service.Service)

UpdateState - update service info


This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL