| 40 | const modName = "check.authorize_sender" |
| 41 | |
| 42 | type Check struct { |
| 43 | instName string |
| 44 | log *log.Logger |
| 45 | |
| 46 | checkHeader bool |
| 47 | emailPrepare module.Table |
| 48 | userToEmail module.Table |
| 49 | |
| 50 | unauthAction modconfig.FailAction |
| 51 | noMatchAction modconfig.FailAction |
| 52 | errAction modconfig.FailAction |
| 53 | |
| 54 | fromNorm authz.NormalizeFunc |
| 55 | authNorm authz.NormalizeFunc |
| 56 | } |
| 57 | |
| 58 | func New(c *container.C, modName, instName string) (module.Module, error) { |
| 59 | return &Check{ |
nothing calls this directly
no outgoing calls
no test coverage detected