mirror of
https://github.com/go-micro/go-micro.git
synced 2024-11-24 08:02:32 +02:00
18 lines
345 B
Go
18 lines
345 B
Go
package micro
|
|
|
|
import (
|
|
"github.com/micro/go-micro/client"
|
|
"github.com/micro/go-micro/server"
|
|
|
|
// set defaults
|
|
gcli "github.com/micro/go-micro/client/grpc"
|
|
gsrv "github.com/micro/go-micro/server/grpc"
|
|
)
|
|
|
|
func init() {
|
|
// default client
|
|
client.DefaultClient = gcli.NewClient()
|
|
// default server
|
|
server.DefaultServer = gsrv.NewServer()
|
|
}
|