ServeManyOptions
123456789type ServeManyOptions struct { NextTimeout time.Duration
MaxLifetime time.Duration
MaxRequests int
Continue func() bool}ServeManyOptions controls the exit conditions for ServeMany. Note that Compute might terminate the request hander earlier.
Fields
NextTimeout
time.DurationNextTimeout is the amount of time to wait for the next request
MaxLifetime
time.DurationMaxLifetime is the total max lifetime for an instance