eventgate

module
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: Apache-2.0

README

eventgate

An identity-aware API gateway for CloudEvents applications

Status: MVP

GoDoc

Features

Command Line

eventgate -h
Usage of eventgate:
      --config string   path to config file (env: EVENTGATE_CONFIG) (default "config.yaml")

Sample Config

# port to serve on. metrics server is started on this port+1
port: 8080
logging:
  # enable debug logs
  debug: true

# pluggable backend: [nats]
backend:
  name: "nats"
  config:
    url: "0.0.0.0:4444"

# authentication options
authentication:
  # json web keys uri for authentication.
  # if empty, inbound jwt's will not be verified.
  jwks_uri: "https://www.googleapis.com/oauth2/v3/certs"

# authorization options
authorization:
  requests: |
    package eventgate.authz.requests

    default allow = false
    
    allow {
        input.claims.sub = "1234567890"
        input.claims.name = "John Doe"
    }
  responses: |
    package eventgate.authz.responses

    default allow = true


Notes

Directories

Path Synopsis
cmd
gen
grpc/go
Package eventgate is a reverse proxy.
Package eventgate is a reverse proxy.
internal
gql

Jump to

Keyboard shortcuts

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