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: 0

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