7 Star 1 Fork 1

罗中天 / douyin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
invoker.go 622 Bytes
一键复制 编辑 原始数据 按行查看 历史
黎博凯 提交于 2023-02-08 15:42 . refactor: 服务拆分细分服务
// Code generated by Kitex v0.4.4. DO NOT EDIT.
package commentservice
import (
comment_rpc "gitee.com/derrickball/douyin/app/comment/kitex_gen/comment_rpc"
server "github.com/cloudwego/kitex/server"
)
// NewInvoker creates a server.Invoker with the given handler and options.
func NewInvoker(handler comment_rpc.CommentService, opts ...server.Option) server.Invoker {
var options []server.Option
options = append(options, opts...)
s := server.NewInvoker(options...)
if err := s.RegisterService(serviceInfo(), handler); err != nil {
panic(err)
}
if err := s.Init(); err != nil {
panic(err)
}
return s
}
1
https://gitee.com/derrickball/douyin.git
git@gitee.com:derrickball/douyin.git
derrickball
douyin
douyin
48d44dfe16fa

搜索帮助

53164aa7 5694891 3bd8fe86 5694891