| 89 | } |
| 90 | |
| 91 | type server struct { |
| 92 | blob Blob |
| 93 | |
| 94 | db DB |
| 95 | shouldProxy bool |
| 96 | proxy *httputil.ReverseProxy |
| 97 | |
| 98 | now func() time.Time |
| 99 | |
| 100 | r *rand.Rand |
| 101 | jwt *jwt.Parser |
| 102 | |
| 103 | // TODO: Figure out how to handle this more elegantly |
| 104 | region string |
| 105 | } |
| 106 | |
| 107 | func run(args []string) error { |
| 108 | if len(args) == 0 { |
nothing calls this directly
no outgoing calls
no test coverage detected