Set http client util default timeout. (#61)

1 file changed
tree: a68f3b5666a52e6e54f2a0d85de4a2caf60eb28d
  1. .gitignore
  2. .gitmodules
  3. .travis.yml
  6. docs/
  7. etc/
  8. examples/
  9. integration/
  10. main.go
  11. pkg/
  12. scripts/
  13. server/
  14. util/
  15. vendor/
  16. version/


Build Status Coverage Status Go Report Card GoDoc

A standalone service center allows services to register their instance information and to discover providers of a given service.

Quick Start

Getting Service Center

The easiest way to get Service Center is to use one of the pre-built release binaries which are available for Linux, Windows and Docker. Instructions for using these binaries are on the GitHub releases page.

Building and Running Service Center

You don't need to build from source to use Service Center (binaries on the GitHub releases page).When you get these binaries, you can execute the start script to run Service Center.






docker pull servicecomb/service-center
docker run -d -p 30100:30100 servicecomb/service-center
If you want to try out the latest and greatest, Service Center can be easily built.

Download the Code

git clone $GOPATH/src/
cd $GOPATH/src/


We use gvt for dependency management, please follow below steps to download all the dependency.

go get
gvt restore

If you face any issue in downloading the dependency because of insecure connection then you can use gvt restore -precaire

Build the Service-Center

go build -o service-center

First, you need to run a etcd(version: 3.x) as a database service and then modify the etcd IP and port in the Service Center configuration file (./etc/conf/app.conf : manager_cluster).

tar -xvf etcd-v3.1.8-linux-amd64.tar.gz
cd etcd-v3.1.8-linux-amd64

cd $GOPATH/src/
cp -r ./etc/conf .

This will bring up Service Center listening on ip/port for service communication.If you want to change the listening ip/port, you can modify it in the Service Center configuration file (./conf/app.conf : httpaddr,httpport).


Project documentation is available on the ServiceComb website. You can also find some development guide here


Bugs: issues


See Contribution guide for details on submitting patches and the contribution workflow.

Reporting Issues

See reporting bugs for details about reporting any issues.