table

package
v0.0.0-...-6844380 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: BSD-2-Clause Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTable

func NewTable(modName, instName string, _, _ []string) (module.Module, error)

Types

type Table

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

func (*Table) Close

func (s *Table) Close() error

func (*Table) Init

func (s *Table) Init(cfg *config.Map) error

func (*Table) InstanceName

func (s *Table) InstanceName() string

func (*Table) Keys

func (s *Table) Keys() ([]string, error)

func (*Table) Lookup

func (s *Table) Lookup(ctx context.Context, val string) (string, bool, error)

func (*Table) LookupMulti

func (s *Table) LookupMulti(ctx context.Context, val string) ([]string, error)

func (*Table) Name

func (s *Table) Name() string

func (*Table) RemoveKey

func (s *Table) RemoveKey(k string) error

func (*Table) SetKey

func (s *Table) SetKey(k, v string) error

Jump to

Keyboard shortcuts

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