(port *int64)
| 344 | } |
| 345 | |
| 346 | func (c *devConfig) applyDefaultPortOffset(port *int64) portSource { |
| 347 | if c.portOffset == 0 { |
| 348 | return portSourceDefault |
| 349 | } |
| 350 | *port += int64(c.portOffset) |
| 351 | return portSourceOffset |
| 352 | } |
| 353 | |
| 354 | func (c *devConfig) validate() error { |
| 355 | if c.agpl && c.useProxy { |