mirror of
https://github.com/zhufuyi/sponge.git
synced 2025-10-06 01:07:08 +08:00
18 lines
347 B
Go
18 lines
347 B
Go
// Package main is the grpc server of the application.
|
|
package main
|
|
|
|
import (
|
|
"github.com/zhufuyi/sponge/cmd/serverNameExample_grpcPbExample/initial"
|
|
|
|
"github.com/zhufuyi/sponge/pkg/app"
|
|
)
|
|
|
|
func main() {
|
|
initial.Config()
|
|
servers := initial.RegisterServers()
|
|
closes := initial.RegisterClose(servers)
|
|
|
|
a := app.New(servers, closes)
|
|
a.Run()
|
|
}
|