func Version(version string) Option {
	return func(o *options) { o.version = version }
}
Version with service version.
package kratos
import (
	"context"
	"net/url"
	"os"
	"time"
	"github.com/go-kratos/kratos/v2/log"
	"github.com/go-kratos/kratos/v2/registry"
	"github.com/go-kratos/kratos/v2/transport"
)
type Option func(o *options)
type options struct {
	id        string
	name      string
	version   string
	metadata  map[string]string
	endpoints []*url.URL
	ctx  context.Context
	sigs []os.Signal
	logger           *log.Helper
	registrar        registry.Registrar
	registrarTimeout time.Duration
	servers          []transport.Server
}
func ID(id string) Option {
	return func(o *options) { o.id = id }
}
func Name(name string) Option {
	return func(o *options) { o.name = name }
}