Skip to content

Latest commit

 

History

History

go-micro-registry-consul

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Server

registry := consul.NewRegistry()

rpcServer := server.NewServer(
	...
	server.Registry(registry),
)

Client

registry := consul.NewRegistry()

service := micro.NewService(
	...
	micro.Registry(registry),
)