labels

package
v0.9.9-rc2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Label

type Label struct {
	Name   string   `json:"name"`
	Labels []string `json:"labels"`
}

type LabelManager

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

func NewLabelManager

func NewLabelManager(ctx context.Context, opts options.Labels) (*LabelManager, error)

func (*LabelManager) Lookup

func (l *LabelManager) Lookup(network utils.Network, addr common.Address) (*Label, bool)

type Storage

type Storage struct {
	Labels map[string]Label `json:"labels"`
}

Jump to

Keyboard shortcuts

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