func GetFreeRunningSlots() int
func GetNextRequestNumber() uint64
GetNextRequestNumber returns the next id for the request
func GetNextRequestNumberFromPeers() uint64
GetNextRequestNumberFromPeers returns the next id for the request
func GetRunningInstances(functionName string) (uint, error)
func GetTotalRunningFunctions() uint
func GetTotalRunningFunctionsOfType() map[int64]int64
func SetFunctionRunning(functionName string, functionType int64) error
func SetFunctionStopped(functionName string, functionType int64) error
type ErrorFunctionNotFound struct{}
func (ErrorFunctionNotFound) Error() string
type Function struct { Name string RunningInstances uint }