In in replit's pid1
(their implementation of goval), services can use different middlewares that wrap the service and provide various functions.1 Not much is known about how exactly these middlewares behave but the old developer program docs provide some insight. Below is a list of the known middleware that exist's in replit's pid1
.
1 This is completely implementation dependant, but it's how replit's pid1
does it.