table

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const FileModName = "table.file"

Variables

This section is empty.

Functions

func NewChain added in v0.5.0

func NewChain(modName, instName string) (module.Module, error)

func NewEmailLocalpart added in v0.5.0

func NewEmailLocalpart(modName, instName string) (module.Module, error)

func NewEmailWithDomain added in v0.7.0

func NewEmailWithDomain(modName, instName string) (module.Module, error)

func NewFile

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

func NewIdentity

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

func NewRegexp

func NewRegexp(modName, instName string) (module.Module, error)

func NewSQL

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

func NewSQLTable added in v0.3.0

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

func NewStatic

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

Types

type Chain added in v0.5.0

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

func (*Chain) Configure added in v0.9.0

func (s *Chain) Configure(inlineArgs []string, cfg *config.Map) error

func (*Chain) InstanceName added in v0.5.0

func (s *Chain) InstanceName() string

func (*Chain) Lookup added in v0.5.0

func (s *Chain) Lookup(ctx context.Context, key string) (string, bool, error)

func (*Chain) LookupMulti added in v0.6.0

func (s *Chain) LookupMulti(ctx context.Context, key string) ([]string, error)

func (*Chain) Name added in v0.5.0

func (s *Chain) Name() string

type EmailLocalpart added in v0.5.0

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

func (*EmailLocalpart) Configure added in v0.9.0

func (s *EmailLocalpart) Configure(inlineArgs []string, cfg *config.Map) error

func (*EmailLocalpart) InstanceName added in v0.5.0

func (s *EmailLocalpart) InstanceName() string

func (*EmailLocalpart) Lookup added in v0.5.0

func (s *EmailLocalpart) Lookup(ctx context.Context, key string) (string, bool, error)

func (*EmailLocalpart) Name added in v0.5.0

func (s *EmailLocalpart) Name() string

type EmailWithDomain added in v0.7.0

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

func (*EmailWithDomain) Configure added in v0.9.0

func (s *EmailWithDomain) Configure(inlineArgs []string, cfg *config.Map) error

func (*EmailWithDomain) InstanceName added in v0.7.0

func (s *EmailWithDomain) InstanceName() string

func (*EmailWithDomain) Lookup added in v0.7.0

func (s *EmailWithDomain) Lookup(ctx context.Context, key string) (string, bool, error)

func (*EmailWithDomain) LookupMulti added in v0.7.0

func (s *EmailWithDomain) LookupMulti(ctx context.Context, key string) ([]string, error)

func (*EmailWithDomain) Name added in v0.7.0

func (s *EmailWithDomain) Name() string

type File

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

func (*File) Configure added in v0.9.0

func (f *File) Configure(inlineArgs []string, cfg *config.Map) error

func (*File) InstanceName

func (f *File) InstanceName() string

func (*File) Lookup

func (f *File) Lookup(_ context.Context, val string) (string, bool, error)

func (*File) LookupMulti added in v0.5.0

func (f *File) LookupMulti(_ context.Context, val string) ([]string, error)

func (*File) Name

func (f *File) Name() string

func (*File) Reload added in v0.9.0

func (f *File) Reload() error

func (*File) Start added in v0.9.0

func (f *File) Start() error

func (*File) Stop added in v0.9.0

func (f *File) Stop() error

type Identity

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

func (*Identity) Configure added in v0.9.0

func (s *Identity) Configure(inlineArgs []string, cfg *config.Map) error

func (*Identity) InstanceName

func (s *Identity) InstanceName() string

func (*Identity) Lookup

func (s *Identity) Lookup(_ context.Context, 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) Configure added in v0.9.0

func (r *Regexp) Configure(inlineArgs []string, cfg *config.Map) error

func (*Regexp) InstanceName

func (r *Regexp) InstanceName() string

func (*Regexp) Lookup

func (r *Regexp) Lookup(ctx context.Context, key string) (string, bool, error)

func (*Regexp) LookupMulti added in v0.6.0

func (r *Regexp) LookupMulti(_ context.Context, key string) ([]string, error)

func (*Regexp) Name

func (r *Regexp) Name() string

type SQL

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

func (*SQL) Configure added in v0.9.0

func (s *SQL) Configure(inlineArgs []string, 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(ctx context.Context, val string) (string, bool, error)

func (*SQL) LookupMulti added in v0.5.0

func (s *SQL) LookupMulti(ctx context.Context, val string) ([]string, 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

func (*SQL) Start added in v0.9.0

func (s *SQL) Start() error

func (*SQL) Stop added in v0.9.0

func (s *SQL) Stop() error

type SQLTable added in v0.3.0

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

func (*SQLTable) Configure added in v0.9.0

func (s *SQLTable) Configure(inlineArgs []string, 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(ctx context.Context, val string) (string, bool, error)

func (*SQLTable) LookupMulti added in v0.5.0

func (s *SQLTable) LookupMulti(ctx context.Context, val string) ([]string, 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

func (*SQLTable) Start added in v0.9.0

func (s *SQLTable) Start() error

func (*SQLTable) Stop added in v0.9.0

func (s *SQLTable) Stop() error

type Static

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

func (*Static) Configure added in v0.9.0

func (s *Static) Configure(inlineArgs []string, cfg *config.Map) error

func (*Static) InstanceName

func (s *Static) InstanceName() string

func (*Static) Lookup

func (s *Static) Lookup(ctx context.Context, key string) (string, bool, error)

func (*Static) LookupMulti added in v0.6.0

func (s *Static) LookupMulti(ctx context.Context, key string) ([]string, 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