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