// Code generated by protoc-gen-coco. DO NOT EDIT. // source: api_services/v1/pastebin_module.proto // generate at: 2023-09-30 21:44:38 package api_servicesv1 import ( "gitter.top/coco/coco/core" ) type AutoGenPastebinServiceImpl interface { List(ctx *core.Context, req *PastebinServiceListReq) (resp *PastebinServiceListResp, err error) Add(ctx *core.Context, req *PastebinServiceAddReq) (resp *PastebinServiceAddResp, err error) Update(ctx *core.Context, req *PastebinServiceUpdateReq) (resp *PastebinServiceUpdateResp, err error) Get(ctx *core.Context, req *PastebinServiceGetReq) (resp *PastebinServiceGetResp, err error) } var ( AutoGenPastebinServiceRouterMap = &core.Routers{ BaseURL: "/v1/pastebin", Apis: core.RouterMap{ "List": { API: "/list", Method: "GET", Author: "Young Xu", Describe: "列表", }, "Add": { API: "/add", Method: "PUT", Author: "Young Xu", Describe: "新建", }, "Update": { API: "/update", Method: "POST", Author: "Young Xu", Describe: "更新", }, "Get": { API: "/get", Method: "GET", Author: "Young Xu", Describe: "获取一条记录", }, }, } )