milvus/cmd/master.go
rain 642554e7bd Refactor directory structure and update the default value of server
Signed-off-by: rain <boyan.wang@zilliz.com>
2020-09-07 19:19:50 +08:00

28 lines
469 B
Go

package main
import (
"github.com/czs007/suvlim/pkg/master"
)
// func main() {
// ctx, cancel := context.WithCancel(context.Background())
// defer cancel()
// cfg := config.NewConfig()
// s, err := server.CreateServer(ctx, cfg)
// if err != nil {
// panic(err)
// }
// err = s.Run()
// if err != nil {
// fmt.Println(err)
// }
// }
func init() {
// go mock.FakePulsarProducer()
}
func main() {
//master.SegmentStatsController()
master.CollectionController()
}