Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionLabels ¶
type ConnectionLabels struct { Contract string `label:"contract"` Origin string `label:"origin"` // "client" or "target" }
func (ConnectionLabels) GetContract ¶
func (cl ConnectionLabels) GetContract() ContractLabels
func (ConnectionLabels) SetContract ¶
func (cl ConnectionLabels) SetContract(contract string) ConnectionLabels
func (ConnectionLabels) SetOrigin ¶
func (cl ConnectionLabels) SetOrigin(origin string) ConnectionLabels
type ContractLabels ¶
type ContractLabels struct {
Contract string `label:"contract"`
}
func (ContractLabels) GetConnection ¶
func (ct ContractLabels) GetConnection() ConnectionLabels
func (ContractLabels) SetContract ¶
func (ct ContractLabels) SetContract(contract string) ContractLabels
Click to show internal directories.
Click to hide internal directories.