()
| 35 | } |
| 36 | |
| 37 | func init() { |
| 38 | serverInfo = new(info) |
| 39 | |
| 40 | serverInfo.Server.OS = runtime.GOOS |
| 41 | serverInfo.Server.ProceessID = os.Getpid() |
| 42 | } |
| 43 | |
| 44 | func (i *info) RegisterExtInfo(f ExtInfoFunc) { |
| 45 | i.ExtInfo = append(i.ExtInfo, f) |
nothing calls this directly
no outgoing calls
no test coverage detected