table

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const FileModName = "table.file"

Variables

This section is empty.

Functions

func NewFile

func NewFile(_, instName string, _, inlineArgs []string) (module.Module, error)

func NewIdentity

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

func NewRegexp

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

func NewSQL

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

func NewSQLTable added in v0.3.0

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

func NewStatic

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

Types

type File

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

func (*File) Close

func (f *File) Close() error

func (*File) Init

func (f *File) Init(cfg *config.Map) error

func (*File) InstanceName

func (f *File) InstanceName() string

func (*File) Lookup

func (f *File) Lookup(val string) (string, bool, error)

func (*File) Name

func (f *File) Name() string

type Identity

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

func (*Identity) Init

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

func (*Identity) InstanceName

func (s *Identity) InstanceName() string

func (*Identity) Lookup

func (s *Identity) Lookup(key string) (string, bool, error)

func (*Identity) Name

func (s *Identity) Name() string

type Regexp

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

func (*Regexp) Init

func (r *Regexp) Init(cfg *config.Map) error

func (*Regexp) InstanceName

func (r *Regexp) InstanceName() string

func (*Regexp) Lookup

func (r *Regexp) Lookup(key string) (string, bool, error)

func (*Regexp) Name

func (r *Regexp) Name() string

type SQL

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

func (*SQL) Close

func (s *SQL) Close() error

func (*SQL) Init

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

func (*SQL) InstanceName

func (s *SQL) InstanceName() string

func (*SQL) Keys added in v0.3.0

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

func (*SQL) Lookup

func (s *SQL) Lookup(val string) (string, bool, error)

func (*SQL) Name

func (s *SQL) Name() string

func (*SQL) RemoveKey added in v0.3.0

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

func (*SQL) SetKey added in v0.3.0

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

type SQLTable added in v0.3.0

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

func (*SQLTable) Close added in v0.3.0

func (s *SQLTable) Close() error

func (*SQLTable) Init added in v0.3.0

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

func (*SQLTable) InstanceName added in v0.3.0

func (s *SQLTable) InstanceName() string

func (*SQLTable) Keys added in v0.3.0

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

func (*SQLTable) Lookup added in v0.3.0

func (s *SQLTable) Lookup(val string) (string, bool, error)

func (*SQLTable) Name added in v0.3.0

func (s *SQLTable) Name() string

func (*SQLTable) RemoveKey added in v0.3.0

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

func (*SQLTable) SetKey added in v0.3.0

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

type Static

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

func (*Static) Init

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

func (*Static) InstanceName

func (s *Static) InstanceName() string

func (*Static) Lookup

func (s *Static) Lookup(key string) (string, bool, error)

func (*Static) Name

func (s *Static) Name() string

Jump to

Keyboard shortcuts

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