| 38 | const FileModName = "table.file" |
| 39 | |
| 40 | type File struct { |
| 41 | instName string |
| 42 | file string |
| 43 | |
| 44 | m map[string][]string |
| 45 | mLck sync.RWMutex |
| 46 | mStamp time.Time |
| 47 | |
| 48 | stopReloader chan struct{} |
| 49 | forceReload chan struct{} |
| 50 | |
| 51 | log *log.Logger |
| 52 | } |
| 53 | |
| 54 | func NewFile(c *container.C, modName, instName string) (module.Module, error) { |
| 55 | m := &File{ |
nothing calls this directly
no outgoing calls
no test coverage detected