func NewInvoker(handler http.BizService, 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
}
NewInvoker creates a server.Invoker with the given handler and options.
package bizservice
import (
	"github.com/cloudwego/kitex-examples/generic/kitex_gen/http"
	"github.com/cloudwego/kitex/server"
)