{"repo":"chuck1024/gd","free":true,"listed":false,"github":"https://github.com/chuck1024/gd","clone":"git clone https://github.com/chuck1024/gd.git","description":"a framework for server with golang","language":"Go","stars":163,"topics":["golang","grpc","http","server","tcp","discovery","register"],"license":"MIT","category":"networking-infra","readme_excerpt":"godog \"go\" is the meaning of a dog in Chinese pronunciation, and dog's original intention is also a dog. So godog means \"狗狗\" in Chinese, which is very cute. --- Author --- Installation Start with cloning gd: --- Introduction Godog is a basic framework implemented by golang, which is aiming at helping developers setup feature-rich server quickly. The framework contains config module , databases module , error module , dlog module , net module , runtime module and server module . You can select any modules according to your practice. More features will be added later. I hope anyone who is interested in this work can join it and let's enhance the system function of this framework together. gin and zookeeper are third-party library and more third-party library in go.mod. Authors are Gin-Gonic and Samuel Stauffer .Thanks for them here. --- Quick start --- [config] So far, it only supports configuration with ini in gd. Of course, it supports more and more format configuration in future. What's more, your configuration file must have the necessary parameters, like this: Log.enable : log config, turn on log output. Log.level : log level. Process.maxCPU : a limit of CPU usage. 0 is default, means to use half cores. Process.maxMemory : a limit of memory usage. Process.healthPort : the port for monitor. If it is 0, monitor server will not run. Server.serverName : server name. Server.httpPort : http port. If it is 0, http server will not run. Server.rpcPort : rpc port. If it is 0, rpc se","default_branch":null,"files":null,"tree":[],"storefront":"/r/chuck1024","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chuck1024/gd/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}