go_scaffold

package module
v1.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 0 Imported by: 0

README

Go scaffold

Use go-scaffold to build a Go gRPC project quickly.

Getting Started

go get gitee.com/zakums06/go-scaffold

Overview

go-scaffold born for quickly build gRPC and HTTP services based on grpc-gateway

go-scaffold provides:

  • gRPC/http base server configure
  • Wrapper function for gRPC/http request dispatch
  • Basic recover interceptor
  • Scalable interceptor
  • Optional zap logger
  • gRPC client connector with dial option
  • Cobra entry
  • Database connection (Mysql and Redis)
  • Init config struct from env
  • Other commonly used tools

Usage

See example

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
example
grpc/hello
Package hello is a reverse proxy.
Package hello is a reverse proxy.
grpc
http

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL