twirp-gateway-example

command module
v0.0.0-...-817ee16 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: MIT Imports: 9 Imported by: 0

README

twirp-gateway-example

A simple twirp api gateway example

package description
core model 以及对应 store 的定于
handler request handler 实现
handler/codes 自定义错误码
handler/hc healthy check handler
handler/render response wrapper 实现
handler/reversetwirp ReverseTwirp 实现
handler/rpc/book rpc book service 实现
handler/rpc/views core.Book -> proto.Book
proto proto 定义以及自动生成的代码
store/book core.BookStore 实现

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
hc
Package proto is a generated twirp stub package.
Package proto is a generated twirp stub package.
store

Jump to

Keyboard shortcuts

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