Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IResource ¶
type IResource interface {
/**
* Get the resource group id.
* e.g. master and slave data-source should be with the same resource group id.
*
* @return resource group id.
*/
GetResourceGroupID() string
/**
* Get the resource id.
* e.g. url of a data-source could be the id of the db data-source resource.
*
* @return resource id.
*/
GetResourceID() string
/**
* get resource type, BranchType_AT, BranchType_TCC, BranchType_SAGA and XA
*
* @return
*/
GetBranchType() meta.BranchType
}
Click to show internal directories.
Click to hide internal directories.