Coder Social home page Coder Social logo

bee-server's Introduction

bee-server

CodeFactor Build Status

bee-server is a simple and stable game server cluster.


Building

building need docker running on the host.

# check golang code quality and build to bin
make

Starting the cluster

it is less 3 nodes to be required for HA.

./start -c start.conf

bee-server's People

Contributors

codacy-badger avatar jamlee avatar

Watchers

 avatar  avatar

bee-server's Issues

[DepShield] (CVSS 5.9) Vulnerability due to usage of golang.org/x:crypto:0.0.0-20180904163835-0709b304e793

Vulnerabilities

DepShield reports that this application's usage of golang.org/x:crypto:0.0.0-20180904163835-0709b304e793 results in the following vulnerability(s):


Occurrences

golang.org/x:crypto:0.0.0-20180904163835-0709b304e793 is a transitive dependency introduced by the following direct dependency(s):

github.com/sirupsen:logrus:1.1.1
        └─ golang.org/x:crypto:0.0.0-20180904163835-0709b304e793

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

完成服务注册功能

  1. 服务注册的参数,确定服务能够在单机或者多机执行
  2. 游戏服务的状态存储在 Etcd 中

Setup Airbrake for your Go application

Example Usage

To include Airbrake in your GoLang application you'll need to import the Gobrake code, available on our official GitHub repo

(You can find your project ID and API KEY with your project's settings):

package main

import (
    "errors"

    "github.com/airbrake/gobrake"
)

var airbrake = gobrake.NewNotifierWithOptions(&gobrake.NotifierOptions{
    ProjectId: <Your project ID>,
    ProjectKey: "<Your project ID>",
    Environment: "production",
})

func main() {
    defer airbrake.Close()
    defer airbrake.NotifyOnPanic()

    airbrake.Notify(errors.New("operation failed"), nil)
}

Check out our official GitHub repo for info on advanced features like ignoring errors and setting error severity.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.