mrwclabels

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2022 License: MIT Imports: 0 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL