12345678910111213141516171819 |
- // Code generated by goctl. DO NOT EDIT.
- package handler
- import (
- "net/http"
- "github.com/tal-tech/go-zero/rest"
- "github.com/zeromicro/zero-examples/graceful/dns/api/svc"
- )
- func RegisterHandlers(engine *rest.Server, ctx *svc.ServiceContext) {
- engine.AddRoutes([]rest.Route{
- {
- Method: http.MethodGet,
- Path: "/api/graceful",
- Handler: gracefulHandler(ctx),
- },
- })
- }
|