Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPScaler ¶
HTTPScaler is a scaling system to increase remote api system scale
func (HTTPScaler) AddSystemLoad ¶
func (system HTTPScaler) AddSystemLoad(message string) (*http.Response, error)
AddSystemLoad will increase the systems load by one
func (HTTPScaler) GetSystemLoad ¶
func (system HTTPScaler) GetSystemLoad() (int, error)
GetSystemLoad returns to load count of the running system
func (*HTTPScaler) SetLoadURLs ¶
func (system *HTTPScaler) SetLoadURLs(loadAPIUrl string, addLoadAPIUrl string)
SetLoadURLs sets the load urls for the system
Click to show internal directories.
Click to hide internal directories.