func Run(ctx *cli.Context) error {
	if len(ctx.String("server_name")) > 0 {
		name = ctx.String("server_name")
	}
	if len(ctx.String("address")) > 0 {
		address = ctx.String("address")
	}
	service := service.New(
		service.Name(name),
		service.Address(address),
	)
	pb.RegisterStoreHandler(service.Server(), &handler.Store{
		Stores: make(map[string]bool),
	})
	pb.RegisterBlobStoreHandler(service.Server(), new(handler.BlobStore))
	if err := service.Run(); err != nil {
		log.Fatal(err)
	}
	return nil
}
Run micro store
package store
import (
	pb "github.com/micro/micro/v3/proto/store"
	"github.com/micro/micro/v3/service"
	log "github.com/micro/micro/v3/service/logger"
	"github.com/micro/micro/v3/service/store/handler"
	"github.com/urfave/cli/v2"
)
var (
	name = "store"
	address = ":8002"
)