mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-08-24 06:38:42 +08:00
rename API => HTTPHandler
This commit is contained in:
@@ -105,7 +105,7 @@ func main() {
|
||||
}
|
||||
}
|
||||
|
||||
api := asynqmon.NewAPI(asynqmon.APIOptions{
|
||||
api := asynqmon.NewHTTPHandler(asynqmon.Options{
|
||||
RedisConnOpt: redisConnOpt,
|
||||
Middlewares: []asynqmon.MiddlewareFunc{loggingMiddleware},
|
||||
StaticContentHandler: asynqmon.NewStaticContentHandler(
|
||||
|
Reference in New Issue
Block a user