Git Product home page Git Product logo

go-sky's Introduction

go-sky

go-sky is a Golang micro service framework integrating several very popular packages and tools. As follows:

  • github.com/go-kit/kit
  • github.com/uber-go/zap
  • gopkg.in/natefinch/lumberjack.v2
  • github.com/opentracing/opentracing-go
  • github.com/go-redis/redis/v8
  • github.com/elastic/go-elasticsearch/v7
  • github.com/Shopify/sarama
  • github.com/prometheus

Includes this subpackages as follows:

  • github.com/WiFeng/go-sky/config
  • github.com/WiFeng/go-sky/database
  • github.com/WiFeng/go-sky/elasticsearch
  • github.com/WiFeng/go-sky/helper
  • github.com/WiFeng/go-sky/http
  • github.com/WiFeng/go-sky/kafka
  • github.com/WiFeng/go-sky/log
  • github.com/WiFeng/go-sky/metrics
  • github.com/WiFeng/go-sky/redis
  • github.com/WiFeng/go-sky/trace

Related projects

  1. github.com/WiFeng/go-sky-example
  2. github.com/WiFeng/go-sky-helloworld

Features

  1. Support config.toml, and load separated config file by different runtime enviroment (config_development.toml/config_production.toml)
  2. Support many popular componets including sql/redis/kafka/elasticsearch.
  3. Support tracing (include http server and http client / redis / sql / kafka / elasticsearch)
  4. Support log rotating and include trace_id in all log items.
  5. Support promethues metric (include http server by now)

image

image

Usage

  1. There is a demo project in sky-example.

TODO

  1. Support redis/sql operation metric
  2. Support more custom config to make some function disabled.

Contribution

We need more cute members to make this project more robust. Believe you can!

go-sky's People

Contributors

wifeng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.