(start time.Time, name string)
| 109 | func (e configLoadError) Error() string { return e.Response } |
| 110 | |
| 111 | func timeElapsed(start time.Time, name string) { |
| 112 | elapsed := time.Since(start) |
| 113 | log.Printf("%s took %s", name, elapsed) |
| 114 | } |
| 115 | |
| 116 | // InitServer this will configure the server with a configurion of a specific |
| 117 | // type. The configType must be either "json" or the adapter type. |