zimnx / gohan

Gohan is an API Gateway Server written by Go that makes it easy for developers to create and maintain REST-style API

Home Page:http://www.slideshare.net/natiueno/gohan-61170476

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gohan : API gateway server

Join the chat at https://gitter.im/cloudwan/gohan Coverage Status Circle CI Go Report Card

Gohan is an API Gateway Server written by Go that makes it easy for developers to create and maintain REST-style API. An API Gateway Server has a benefit consolidating various API operations such as authentication, authorization based on policies, logging and input validation on a single place on top of so-called microservice architecture.

Gohan also makes transactional operations, involving multiple micro services, easy to operate. An approach Gohan using is quite simple. Persistent REST API Resources in the RDBMS using transaction, then sync resource status with backend microservices using etcd or MySQL binlog API. Using well-proven RDBMs transaction, we can protect correctness of resources. A strategy let backend microservices sync with correct resource data in the RDBMS makes entire system fault-torrent from various RPC failures. Note that Developers should design _ backend microservices idempotent manner, to handle the cases the same RPC invoked multiple times.

see [Pet Store Example] (./etc/example_schema.yaml)

GoDoc

Documentation

Gitbook

About

Gohan is an API Gateway Server written by Go that makes it easy for developers to create and maintain REST-style API

http://www.slideshare.net/natiueno/gohan-61170476

License:Other


Languages

Language:JavaScript 72.7%Language:Go 22.7%Language:CSS 4.4%Language:Shell 0.1%Language:Makefile 0.0%Language:HTML 0.0%