mirror of
https://github.com/zhufuyi/sponge.git
synced 2025-10-07 09:41:06 +08:00
18 lines
345 B
Go
18 lines
345 B
Go
// Package main is the grpc server of the application.
|
|
package main
|
|
|
|
import (
|
|
"github.com/zhufuyi/sponge/cmd/serverNameExample_grpcExample/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()
|
|
}
|