// DO NOT EDIT, generated by goctl package handler import ( "net/http" "zero/example/graceful/dns/api/svc" "zero/rest" ) func RegisterHandlers(engine *rest.Engine, ctx *svc.ServiceContext) { engine.AddRoutes([]rest.Route{ { Method: http.MethodGet, Path: "/api/graceful", Handler: gracefulHandler(ctx), }, }) }