Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigTransaction ¶
Config defines variable for haproxy configuration
func (*ConfigTransaction) Transaction ¶
func (c *ConfigTransaction) Transaction(fn func(transactionID string) (*http.Response, error)) (*http.Response, error)
Transaction encapsulate function to ensure that it's executed within a locked context
type TransactionResponse ¶
type TransactionResponse struct { Version int `json:"_version"` ID string `json:"id"` Status string `json:"status"` }
TransactionResponse get response when Transaction create
Click to show internal directories.
Click to hide internal directories.