Categorygithub.com/gstones/moke-kit
module
1.0.4
Repository: https://github.com/gstones/moke-kit.git
Documentation: pkg.go.dev

# README

moke-kit

Go Report Card Go Reference Release

English | 中文

What is moke-kit?

moke-kit is a toolkit for building a microservices/monolithic in Go. You can develop as a monolithic service and deploy it as a microservice. Just like building with LEGO, you can assemble the service as you like.

Diagram

moke-kit

Features

  • Inversion of control with uber/fx,assemble your service as you like.
  • Builtin TLS, mTLS to build Zero Trust security.
  • Builtin Token-based authentication, support JWT token.
  • Builtin middlewares (rate limit, open telemetry, auth middleware,logging, panic recovery, etc.).
  • Builtin Cache-Aside pattern for orm and nosql.
  • Builtin Compare-and-swap to ensure db update consistency.
  • Command client to interact with the server for independent testing.
  • One command to generate proto, grpc, gateway, swagger and client code with buf.

Builtin Kits

Getting started

  • install gonew:
   go install golang.org/x/tools/cmd/gonew@latest
  • create a new project:
   gonew github.com/gstones/moke-layout your.domain/myprog

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author