Documentation ¶
Index ¶
- Constants
- func NewChain(modName, instName string, _, _ []string) (module.Module, error)
- func NewEmailLocalpart(modName, instName string, _, _ []string) (module.Module, error)
- func NewEmailWithDomain(modName, instName string, _, inlineArgs []string) (module.Module, error)
- func NewFile(_, instName string, _, inlineArgs []string) (module.Module, error)
- func NewIdentity(modName, instName string, _, _ []string) (module.Module, error)
- func NewRegexp(modName, instName string, _, inlineArgs []string) (module.Module, error)
- func NewSQL(modName, instName string, _, _ []string) (module.Module, error)
- func NewSQLTable(modName, instName string, _, _ []string) (module.Module, error)
- func NewStatic(modName, instName string, _, _ []string) (module.Module, error)
- type Chain
- type EmailLocalpart
- type EmailWithDomain
- func (s *EmailWithDomain) Init(cfg *config.Map) error
- func (s *EmailWithDomain) InstanceName() string
- func (s *EmailWithDomain) Lookup(ctx context.Context, key string) (string, bool, error)
- func (s *EmailWithDomain) LookupMulti(ctx context.Context, key string) ([]string, error)
- func (s *EmailWithDomain) Name() string
- type File
- type Identity
- type Regexp
- type SQL
- func (s *SQL) Close() error
- func (s *SQL) Init(cfg *config.Map) error
- func (s *SQL) InstanceName() string
- func (s *SQL) Keys() ([]string, error)
- func (s *SQL) Lookup(ctx context.Context, val string) (string, bool, error)
- func (s *SQL) LookupMulti(ctx context.Context, val string) ([]string, error)
- func (s *SQL) Name() string
- func (s *SQL) RemoveKey(k string) error
- func (s *SQL) SetKey(k, v string) error
- type SQLTable
- func (s *SQLTable) Close() error
- func (s *SQLTable) Init(cfg *config.Map) error
- func (s *SQLTable) InstanceName() string
- func (s *SQLTable) Keys() ([]string, error)
- func (s *SQLTable) Lookup(ctx context.Context, val string) (string, bool, error)
- func (s *SQLTable) LookupMulti(ctx context.Context, val string) ([]string, error)
- func (s *SQLTable) Name() string
- func (s *SQLTable) RemoveKey(k string) error
- func (s *SQLTable) SetKey(k, v string) error
- type Static
Constants ¶
View Source
const FileModName = "table.file"
Variables ¶
This section is empty.
Functions ¶
func NewEmailLocalpart ¶ added in v0.5.0
func NewEmailWithDomain ¶ added in v0.7.0
func NewSQLTable ¶ added in v0.3.0
Types ¶
type Chain ¶ added in v0.5.0
type Chain struct {
// contains filtered or unexported fields
}
func (*Chain) InstanceName ¶ added in v0.5.0
func (*Chain) LookupMulti ¶ added in v0.6.0
type EmailLocalpart ¶ added in v0.5.0
type EmailLocalpart struct {
// contains filtered or unexported fields
}
func (*EmailLocalpart) InstanceName ¶ added in v0.5.0
func (s *EmailLocalpart) InstanceName() string
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) Init ¶ added in v0.7.0
func (s *EmailWithDomain) Init(cfg *config.Map) error
func (*EmailWithDomain) InstanceName ¶ added in v0.7.0
func (s *EmailWithDomain) InstanceName() string
func (*EmailWithDomain) LookupMulti ¶ added in v0.7.0
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) InstanceName ¶
func (*File) LookupMulti ¶ added in v0.5.0
type Identity ¶
type Identity struct {
// contains filtered or unexported fields
}
func (*Identity) InstanceName ¶
type Regexp ¶
type Regexp struct {
// contains filtered or unexported fields
}
func (*Regexp) InstanceName ¶
func (*Regexp) LookupMulti ¶ added in v0.6.0
type SQL ¶
type SQL struct {
// contains filtered or unexported fields
}
func (*SQL) InstanceName ¶
func (*SQL) LookupMulti ¶ added in v0.5.0
type SQLTable ¶ added in v0.3.0
type SQLTable struct {
// contains filtered or unexported fields
}
func (*SQLTable) InstanceName ¶ added in v0.3.0
func (*SQLTable) LookupMulti ¶ added in v0.5.0
type Static ¶
type Static struct {
// contains filtered or unexported fields
}
func (*Static) InstanceName ¶
func (*Static) LookupMulti ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.