{"modulePath":"github.com/foxcpp/maddy","version":"v0.9.8","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package table\n\n## Constants\n\n```go\nconst FileModName = \"table.file\"\n```\n\n## Functions\n\n```go\nfunc NewChain(_ *container.C, modName, instName string) (module.Module, error)\n```\n\n```go\nfunc NewEmailLocalpart(_ *container.C, modName, instName string) (module.Module, error)\n```\n\n```go\nfunc NewEmailWithDomain(c *container.C, modName, instName string) (module.Module, error)\n```\n\n```go\nfunc NewFile(c *container.C, modName, instName string) (module.Module, error)\n```\n\n```go\nfunc NewIdentity(_ *container.C, modName, instName string) (module.Module, error)\n```\n\n```go\nfunc NewRegexp(c *container.C, modName, instName string) (module.Module, error)\n```\n\n```go\nfunc NewSQL(_ *container.C, modName, instName string) (module.Module, error)\n```\n\n```go\nfunc NewSQLTable(_ *container.C, modName, instName string) (module.Module, error)\n```\n\n```go\nfunc NewStatic(_ *container.C, modName, instName string) (module.Module, error)\n```\n\n## Types\n\n```go\ntype Chain struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (s *Chain) Configure(inlineArgs []string, cfg *config.Map) error\n```\n\n```go\nfunc (s *Chain) InstanceName() string\n```\n\n```go\nfunc (s *Chain) Lookup(ctx context.Context, key string) (string, bool, error)\n```\n\n```go\nfunc (s *Chain) LookupMulti(ctx context.Context, key string) ([]string, error)\n```\n\n```go\nfunc (s *Chain) Name() string\n```\n\n```go\ntype EmailLocalpart struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (s *EmailLocalpart) Configure(inlineArgs []string, cfg *config.Map) error\n```\n\n```go\nfunc (s *EmailLocalpart) InstanceName() string\n```\n\n```go\nfunc (s *EmailLocalpart) Lookup(ctx context.Context, key string) (string, bool, error)\n```\n\n```go\nfunc (s *EmailLocalpart) Name() string\n```\n\n```go\ntype EmailWithDomain struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (s *EmailWithDomain) Configure(inlineArgs []string, cfg *config.Map) error\n```\n\n```go\nfunc (s *EmailWithDomain) InstanceName() string\n```\n\n```go\nfunc (s *EmailWithDomain) Lookup(ctx context.Context, key string) (string, bool, error)\n```\n\n```go\nfunc (s *EmailWithDomain) LookupMulti(ctx context.Context, key string) ([]string, error)\n```\n\n```go\nfunc (s *EmailWithDomain) Name() string\n```\n\n```go\ntype File struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (f *File) Configure(inlineArgs []string, cfg *config.Map) error\n```\n\n```go\nfunc (f *File) InstanceName() string\n```\n\n```go\nfunc (f *File) Lookup(_ context.Context, val string) (string, bool, error)\n```\n\n```go\nfunc (f *File) LookupMulti(_ context.Context, val string) ([]string, error)\n```\n\n```go\nfunc (f *File) Name() string\n```\n\n```go\nfunc (f *File) Reload() error\n```\n\n```go\nfunc (f *File) Start() error\n```\n\n```go\nfunc (f *File) Stop() error\n```\n\n```go\ntype Identity struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (s *Identity) Configure(inlineArgs []string, cfg *config.Map) error\n```\n\n```go\nfunc (s *Identity) InstanceName() string\n```\n\n```go\nfunc (s *Identity) Lookup(_ context.Context, key string) (string, bool, error)\n```\n\n```go\nfunc (s *Identity) Name() string\n```\n\n```go\ntype Regexp struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (r *Regexp) Configure(inlineArgs []string, cfg *config.Map) error\n```\n\n```go\nfunc (r *Regexp) InstanceName() string\n```\n\n```go\nfunc (r *Regexp) Lookup(ctx context.Context, key string) (string, bool, error)\n```\n\n```go\nfunc (r *Regexp) LookupMulti(_ context.Context, key string) ([]string, error)\n```\n\n```go\nfunc (r *Regexp) Name() string\n```\n\n```go\ntype SQL struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (s *SQL) Configure(inlineArgs []string, cfg *config.Map) error\n```\n\n```go\nfunc (s *SQL) InstanceName() string\n```\n\n```go\nfunc (s *SQL) Keys() ([]string, error)\n```\n\n```go\nfunc (s *SQL) Lookup(ctx context.Context, val string) (string, bool, error)\n```\n\n```go\nfunc (s *SQL) LookupMulti(ctx context.Context, val string) ([]string, error)\n```\n\n```go\nfunc (s *SQL) Name() string\n```\n\n```go\nfunc (s *SQL) RemoveKey(k string) error\n```\n\n```go\nfunc (s *SQL) SetKey(k, v string) error\n```\n\n```go\nfunc (s *SQL) Start() error\n```\n\n```go\nfunc (s *SQL) Stop() error\n```\n\n```go\ntype SQLTable struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (s *SQLTable) Configure(inlineArgs []string, cfg *config.Map) error\n```\n\n```go\nfunc (s *SQLTable) InstanceName() string\n```\n\n```go\nfunc (s *SQLTable) Keys() ([]string, error)\n```\n\n```go\nfunc (s *SQLTable) Lookup(ctx context.Context, val string) (string, bool, error)\n```\n\n```go\nfunc (s *SQLTable) LookupMulti(ctx context.Context, val string) ([]string, error)\n```\n\n```go\nfunc (s *SQLTable) Name() string\n```\n\n```go\nfunc (s *SQLTable) RemoveKey(k string) error\n```\n\n```go\nfunc (s *SQLTable) SetKey(k, v string) error\n```\n\n```go\nfunc (s *SQLTable) Start() error\n```\n\n```go\nfunc (s *SQLTable) Stop() error\n```\n\n```go\ntype Static struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (s *Static) Configure(inlineArgs []string, cfg *config.Map) error\n```\n\n```go\nfunc (s *Static) InstanceName() string\n```\n\n```go\nfunc (s *Static) Lookup(ctx context.Context, key string) (string, bool, error)\n```\n\n```go\nfunc (s *Static) LookupMulti(ctx context.Context, key string) ([]string, error)\n```\n\n```go\nfunc (s *Static) Name() string\n```\n\n","path":"github.com/foxcpp/maddy/internal/table","name":"table","synopsis":"","isRedistributable":true}
