加入CODE CHINA

· 不限速    · 不限空间    · 不限人数    · 私仓免费

免费加入
    README.md

    Discovery

    Build Status Go Report Card codecov

    Discovery is a based service that is production-ready and primarily used at Bilibili for locating services for the purpose of load balancing and failover of middle-tier servers.

    Quick Start

    env

    go1.12.x (and later)

    build

    cd $GOPATH/src
    git clone https://github.com/bilibili/discovery.git
    cd discovery/cmd/discovery
    go build

    run

    ./discovery -conf discovery.toml -alsologtostderr

    -alsologtostderr is glog's flag,means print into stderr. If you hope print into file, can use -log.dir="/tmp". view glog doc.

    Configuration

    You can view the comments in cmd/discovery/discovery.toml to understand the meaning of the config.

    Client

    Intro/Arch/Practice

    Feedback

    Please report bugs, concerns, suggestions by issues, or join QQ-group 716486124 to discuss problems around source code.

    项目简介

    🚀 Github 镜像仓库 🚀

    源项目地址

    https://github.com/bilibili/discovery

    发行版本 6

    v1.2.0

    全部发行版

    贡献者 22

    全部贡献者

    开发语言

    • Go 91.6 %
    • Shell 7.7 %
    • Makefile 0.4 %
    • Dockerfile 0.4 %