apigateway

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2019 License: Apache-2.0 Imports: 12 Imported by: 2

README

apigateway

A light-weight golang API Gateway implement.

Build Status codecov

Online RPC documentation can be found at: https://dsisc.github.io/slate/

Getting started

Running it then should be as simple as:

$ make all
Testing
$ make test

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartRPC

func StartRPC(listenAddr string, eventCenter types.EventCenter) ([]net.Listener, error)

func StopRPC

func StopRPC(rpcListeners []net.Listener) error

StopRPC stop RPC server

Types

This section is empty.

Directories

Path Synopsis
Package hex utils functions.
Package hex utils functions.
core
libs/pubsub
Package pubsub implements a pub-sub model with a single publisher (Server) and multiple subscribers (clients).
Package pubsub implements a pub-sub model with a single publisher (Server) and multiple subscribers (clients).
libs/pubsub/query
Package query provides a parser for a custom query format: abci.invoice.number=22 AND abci.invoice.owner=Ivan See query.peg for the grammar, which is a https://en.wikipedia.org/wiki/Parsing_expression_grammar.
Package query provides a parser for a custom query format: abci.invoice.number=22 AND abci.invoice.owner=Ivan See query.peg for the grammar, which is a https://en.wikipedia.org/wiki/Parsing_expression_grammar.
rpc
core
# Introduction Justitia RPC is built using our own RPC library which contains its own set of documentation and tests.
# Introduction Justitia RPC is built using our own RPC library which contains its own set of documentation and tests.
lib
HTTP RPC server supporting calls via uri params, jsonrpc, and jsonrpc over websockets # Client Requests Suppose we want to expose the rpc function `HelloWorld(name string, num int)`.
HTTP RPC server supporting calls via uri params, jsonrpc, and jsonrpc over websockets # Client Requests Suppose we want to expose the rpc function `HelloWorld(name string, num int)`.
lib/server
Commons for HTTP handling
Commons for HTTP handling
test
rpc integration test packages.
rpc integration test packages.

Jump to

Keyboard shortcuts

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