update package level comment
This commit is contained in:
parent
25ae5c2e5f
commit
ab7f7d6693
20
go-micro.go
20
go-micro.go
@ -1,22 +1,4 @@
|
|||||||
/*
|
// Package micro is a pluggable RPC framework for microservices
|
||||||
Go micro provides a pluggable library to build microservices.
|
|
||||||
|
|
||||||
import (
|
|
||||||
micro "github.com/micro/go-micro"
|
|
||||||
)
|
|
||||||
|
|
||||||
service := micro.NewService()
|
|
||||||
h := service.Server().NewHandler(&Greeter{})
|
|
||||||
service.Server().Handle(h)
|
|
||||||
service.Run()
|
|
||||||
|
|
||||||
|
|
||||||
req := service.Client().NewRequest(service, method, request)
|
|
||||||
rsp := response{}
|
|
||||||
err := service.Client().Call(req, rsp)
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
package micro
|
package micro
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
Loading…
Reference in New Issue
Block a user