// DO NOT EDIT, generated by goctl
package handler

import (
	"net/http"

	"github.com/tal-tech/go-zero/example/graceful/dns/api/svc"
	"github.com/tal-tech/go-zero/rest"
)

func RegisterHandlers(engine *rest.Server, ctx *svc.ServiceContext) {
	engine.AddRoutes([]rest.Route{
		{
			Method:  http.MethodGet,
			Path:    "/api/graceful",
			Handler: gracefulHandler(ctx),
		},
	})
}
