procedure

package
v0.0.0-...-d2b1cdf Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LabelManager

type LabelManager struct {
	// contains filtered or unexported fields
}

LabelManager provides mechanism to query method/label information

func NewLabelManager

func NewLabelManager(config *LabelManagerConfig) *LabelManager

NewLabelManager creates a new instance of LabelManager

func (*LabelManager) HasLabel

func (m *LabelManager) HasLabel(procedure string, label string) bool

HasLabel returns if a method has a particular label

type LabelManagerConfig

type LabelManagerConfig struct {
	Entries []*LabelManagerConfigEntry
}

type LabelManagerConfigEntry

type LabelManagerConfigEntry struct {
	Procedures []string
	Labels     []string
}

Jump to

Keyboard shortcuts

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