(n NetConnection)
| 583 | } |
| 584 | |
| 585 | func OnNetConnect(n NetConnection) { |
| 586 | |
| 587 | for _, p := range registry { |
| 588 | if p.Callbacks.onNetConnect != nil { |
| 589 | p.Callbacks.onNetConnect(n) |
| 590 | } |
| 591 | } |
| 592 | |
| 593 | } |
| 594 | |
| 595 | func ReadFile(dfPath string) ([]byte, error) { |
| 596 | return registry.ReadFile(dfPath) |
no test coverage detected