Skip to content

lakshay2395/goroute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GOROUTE

Introduction

  • Goroute is a proxy server implementation similar to Nginx. It is implemented in GoLang. It uses memcached as caching provider.

Steps to build gorouter

  • Install pre-requisites
    go get github.com/bradfitz/gomemcache/memcache
    go get -u github.com/gorilla/mux
    
  • Build Executable
    go build -o goroute .
    

Running Goroute

goroute
 -config <Required. Config File Path For Router>
 -env <Optional. Env File Path For Dynamic Router Values>
 -help <Optional. Help>

Important Points

Providing dynamic environment values

  • Provide values enwrapped with $ at both start and end. Ex - $namespace$
  • Provide environment variable name for value in environment config file. Ex - "namespace" : "ODP_NAMESPACE"
  • Sample config and enviroment files are present in repo.

About

Goroute is a simple proxy server implementation similar to Nginx. It is implemented in GoLang. It uses memcached as caching provider.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages