table

package
v0.22.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const FileModName = "table.file"

Variables

This section is empty.

Functions

func NewChain

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

func NewEmailLocalpart

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

func NewEmailWithDomain

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

func NewFile

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

func NewGORMTable

func NewGORMTable(modName, instName string, _, _ []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

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

func NewStatic

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

Types

type Chain

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

func (*Chain) Init

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

func (*Chain) InstanceName

func (s *Chain) InstanceName() string

func (*Chain) Lookup

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

func (*Chain) LookupMulti

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

func (*Chain) Name

func (s *Chain) Name() string

type EmailLocalpart

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

func (*EmailLocalpart) Init

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

func (*EmailLocalpart) InstanceName

func (s *EmailLocalpart) InstanceName() string

func (*EmailLocalpart) Lookup

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

func (*EmailLocalpart) Name

func (s *EmailLocalpart) Name() string

type EmailWithDomain

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

func (*EmailWithDomain) Init

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

func (*EmailWithDomain) InstanceName

func (s *EmailWithDomain) InstanceName() string

func (*EmailWithDomain) Lookup

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

func (*EmailWithDomain) LookupMulti

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

func (*EmailWithDomain) Name

func (s *EmailWithDomain) Name() string

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(_ context.Context, val string) (string, bool, error)

func (*File) LookupMulti

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

func (*File) Name

func (f *File) Name() string

type GORMTable

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

func (*GORMTable) Close

func (g *GORMTable) Close() error

func (*GORMTable) Init

func (g *GORMTable) Init(cfg *config.Map) error

func (*GORMTable) InstanceName

func (g *GORMTable) InstanceName() string

func (*GORMTable) Keys

func (g *GORMTable) Keys() ([]string, error)

func (*GORMTable) Lookup

func (g *GORMTable) Lookup(ctx context.Context, key string) (string, bool, error)

func (*GORMTable) LookupMulti

func (g *GORMTable) LookupMulti(ctx context.Context, key string) ([]string, error)

func (*GORMTable) Name

func (g *GORMTable) Name() string

func (*GORMTable) RemoveKey

func (g *GORMTable) RemoveKey(k string) error

func (*GORMTable) SetKey

func (g *GORMTable) SetKey(k, v string) error

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(_ 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) Init

func (r *Regexp) Init(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

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) 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

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

func (*SQL) Lookup

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

func (*SQL) LookupMulti

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

func (*SQL) Name

func (s *SQL) Name() string

func (*SQL) RemoveKey

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

func (*SQL) SetKey

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

type SQLTable

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

func (*SQLTable) Close

func (s *SQLTable) Close() error

func (*SQLTable) Init

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

func (*SQLTable) InstanceName

func (s *SQLTable) InstanceName() string

func (*SQLTable) Keys

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

func (*SQLTable) Lookup

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

func (*SQLTable) LookupMulti

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

func (*SQLTable) Name

func (s *SQLTable) Name() string

func (*SQLTable) RemoveKey

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

func (*SQLTable) SetKey

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(ctx context.Context, key string) (string, bool, error)

func (*Static) LookupMulti

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