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 NewGORMTable(modName, instName string, _, _ []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 GORMTable
- func (g *GORMTable) Close() error
- func (g *GORMTable) Init(cfg *config.Map) error
- func (g *GORMTable) InstanceName() string
- func (g *GORMTable) Keys() ([]string, error)
- func (g *GORMTable) Lookup(ctx context.Context, key string) (string, bool, error)
- func (g *GORMTable) LookupMulti(ctx context.Context, key string) ([]string, error)
- func (g *GORMTable) Name() string
- func (g *GORMTable) RemoveKey(k string) error
- func (g *GORMTable) SetKey(k, v string) error
- 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 ¶
func NewEmailWithDomain ¶
func NewGORMTable ¶
Types ¶
type Chain ¶
type Chain struct {
// contains filtered or unexported fields
}
func (*Chain) InstanceName ¶
func (*Chain) LookupMulti ¶
type EmailLocalpart ¶
type EmailLocalpart struct {
// contains filtered or unexported fields
}
func (*EmailLocalpart) InstanceName ¶
func (s *EmailLocalpart) InstanceName() string
func (*EmailLocalpart) Name ¶
func (s *EmailLocalpart) Name() string
type EmailWithDomain ¶
type EmailWithDomain struct {
// contains filtered or unexported fields
}
func (*EmailWithDomain) InstanceName ¶
func (s *EmailWithDomain) InstanceName() string
func (*EmailWithDomain) LookupMulti ¶
func (*EmailWithDomain) Name ¶
func (s *EmailWithDomain) Name() string
type File ¶
type File struct {
// contains filtered or unexported fields
}
func (*File) InstanceName ¶
func (*File) LookupMulti ¶
type GORMTable ¶
type GORMTable struct {
// contains filtered or unexported fields
}
func (*GORMTable) InstanceName ¶
func (*GORMTable) LookupMulti ¶
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 ¶
type SQL ¶
type SQL struct {
// contains filtered or unexported fields
}
func (*SQL) InstanceName ¶
func (*SQL) LookupMulti ¶
type SQLTable ¶
type SQLTable struct {
// contains filtered or unexported fields
}
func (*SQLTable) InstanceName ¶
func (*SQLTable) LookupMulti ¶
type Static ¶
type Static struct {
// contains filtered or unexported fields
}
func (*Static) InstanceName ¶
func (*Static) LookupMulti ¶
Click to show internal directories.
Click to hide internal directories.