All Projects → microsvs → base

microsvs / base

Licence: other
小而美的业务基础框架,也是本项目的核心

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to base

Mars
Mars is a cross-platform network component developed by WeChat.
Stars: ✭ 15,912 (+33755.32%)
Mutual labels:  log
aiologger
Asynchronous logging for Python and asyncio
Stars: ✭ 92 (+95.74%)
Mutual labels:  log
Log
Daily logging tool and data visualizer.
Stars: ✭ 30 (-36.17%)
Mutual labels:  log
git-tui
Collection of human friendly terminal interface for git.
Stars: ✭ 95 (+102.13%)
Mutual labels:  log
ng-logger
Angular logger service
Stars: ✭ 65 (+38.3%)
Mutual labels:  log
pyqso
PyQSO is a contact logging tool for amateur radio operators.
Stars: ✭ 75 (+59.57%)
Mutual labels:  log
Base
🍁 Base是针对于Android开发封装好一些常用的基类,主要包括通用的Adapter、Activity、Fragment、Dialog等、和一些常用的Util类,只为更简单。
Stars: ✭ 249 (+429.79%)
Mutual labels:  log
crab
Golang API Framework
Stars: ✭ 57 (+21.28%)
Mutual labels:  log
woodpecker-client
异常日志收集客户端 环境隔离版本
Stars: ✭ 51 (+8.51%)
Mutual labels:  log
LogESP
Open Source SIEM (Security Information and Event Management system).
Stars: ✭ 162 (+244.68%)
Mutual labels:  log
datalogger
DataLogger foi projetado para ser uma biblioteca simples de log com suporte a vários providers.
Stars: ✭ 46 (-2.13%)
Mutual labels:  log
k3log
三大王日志,一款开箱即用且高效,快捷,安全的golang日志,基于uber zap
Stars: ✭ 32 (-31.91%)
Mutual labels:  log
LogDNA-Android-Client
Android client for LogDNA
Stars: ✭ 22 (-53.19%)
Mutual labels:  log
logy
Parse log files like a pro with this awesome CLI tool. Paginate and filter with great ease.
Stars: ✭ 28 (-40.43%)
Mutual labels:  log
LogiAM
基于日志模板构建,采集任务动态管控、数据质量精确度量,一站式日志采集平台
Stars: ✭ 199 (+323.4%)
Mutual labels:  log
Matomo
Liberating Web Analytics. Star us on Github? +1. Matomo is the leading open alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. We love Pull Requests!
Stars: ✭ 15,711 (+33327.66%)
Mutual labels:  log
LogDelegate
Simple, pretty and powerful logger for android
Stars: ✭ 287 (+510.64%)
Mutual labels:  log
TLog
Android日志工具
Stars: ✭ 16 (-65.96%)
Mutual labels:  log
rust cms
使用Rust编写一个CMS(内容管理系统)可以做为个人博客,公司网站
Stars: ✭ 32 (-31.91%)
Mutual labels:  log
JJSwiftLog
Swift log library for all platform
Stars: ✭ 51 (+8.51%)
Mutual labels:  log

base是一个小而美的业务基础框架,它使用graphql作为api通信协议基础。然后提供了一些可以直接使用的后端存储服务。

开发文档 演示环境
开发手册 demo

tiny-base

基础特性

  1. 只支持graphql协议通信;提供了graphql-ui;UI即接口。并提供了一些与该协议进行数据转化的API列表;
  2. 提供数据访问层DAL,使用upper/db库,该库支持:PostgreSQL, MySQL, SQLite, MSSQL, QL and MongoDB;
  3. 提供了redis、消息队列、db和配置服务的初始化实例;
  4. 支持配置服务的自动watch,并实时更新; 支持基于dns的服务发现;
  5. 支持jaeger trace跟踪;支持错误码注册;支持rabbitmq消息队列消费和生产
  6. 支持自定义时间规则切割文件,比如:年/月/日/时/分
  7. 支持微服务之间的rpc调用和数据解析
  8. 轻易支持立即容器化

目录结构

.
├── README.md
├── bindata_assetfs.go
├── cmd/
├── context.go
├── graphql.go
├── graphql_test.go
├── handler.go
├── middlewares.go
├── pkg/
└── plugins/
  1. cmd目录用于提供对cache, db, discovery和mq服务的client初始化,且不用关心连接释放等问题, 且默认初始化discovery client连接;
  2. pkg目录提供了环境变量、日志、消息队列、rpc、系统时间、tracing、types(token, user服务定义),以及常用的utils包
  3. graphql提供了一些gateway的底层调用,graphql的解析、以及与go的类型互相转换(包括:枚举,字符串、时间等);
  4. 提供了基于martini的路由插件,以及处理graphql请求的方法,并支持graphql返回结果的自定义。
  5. 提供了访问流控和签名两个服务的api。

使用方式

服务列表

服务名 服务地址 用户名 密码
zkui zkui admin manager
gateway demo-dev - -

环境变量

名称 描述
APP_ZK 39.96.95.220:2181 配置中心地址
APP_NAME demo 产品名称
APP_LOG log绝对路径 默认:/var/log/app
APP_ENV 部署环境 (本地环境、开发、测试和生产)
APP_VERSION 产品版本 默认: v1.0
APP_TRACER_AGENT jaeger agent地址 默认值: 0.0.0.0:6831
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].