func WithMetaHandler(h remote.MetaHandler) Option {
	return Option{F: func(o *internal_server.Options, di *utils.Slice) {
		di.Push(fmt.Sprintf("WithMetaHandler(%T)", h))
		o.MetaHandlers = append(o.MetaHandlers, h)
	}}
}
WithMetaHandler adds a MetaHandler.
package server
import (
	"fmt"
	internal_server "github.com/cloudwego/kitex/internal/server"
	"github.com/cloudwego/kitex/pkg/acl"
	"github.com/cloudwego/kitex/pkg/diagnosis"
	"github.com/cloudwego/kitex/pkg/generic"
	"github.com/cloudwego/kitex/pkg/limiter"
	"github.com/cloudwego/kitex/pkg/proxy"
	"github.com/cloudwego/kitex/pkg/remote"
	"github.com/cloudwego/kitex/pkg/rpcinfo"
	"github.com/cloudwego/kitex/pkg/utils"
)
func WithServerBasicInfo(ebi *rpcinfo.EndpointBasicInfo) Option {
	return Option{F: func(o *internal_server.Options, di *utils.Slice) {
		o.Once.OnceOrPanic()
		di.Push(fmt.Sprintf("WithServerBasicInfo(%+v)", ebi))
		if ebi != nil {
			o.Svr = ebi
		}
	}}
}
func WithDiagnosisService(ds diagnosis.Service) Option {
	return Option{F: func(o *internal_server.Options, di *utils.Slice) {
		o.Once.OnceOrPanic()
		di.Push(fmt.Sprintf("WithDiagnosisService(%+v)", ds))
		o.DebugService = ds
	}}
}
func WithACLRules(rules ...acl.RejectFunc) Option {
	return Option{F: func(o *internal_server.Options, di *utils.Slice) {
		var names []string
		for _, r := range rules {
			names = append(names, utils.GetFuncName(r))
		}
		di.Push(fmt.Sprintf("WithACLRules(%+v)", names))
		o.ACLRules = append(o.ACLRules, rules...)
	}}
}