GithubHelp home page GithubHelp logo

isabella232 / gibson-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudfoundry-attic/gibson

0.0 0.0 0.0 22 KB

Client library for interacting with Cloud Foundry's Router.

License: Apache License 2.0

Go 100.00%

gibson-1's Introduction

 # This library is deprecated. The supported way to register routes is using [route-registrar](https://github.com/cloudfoundry-incubator/route-registrar)
 
                          ,dPYb,
                          IP'`Yb
                     gg   I8  8I
                     ""   I8  8'
          ,gggg,gg   gg   I8 dP       ,g,       ,ggggg,    ,ggg,,ggg,
         dP"  "Y8I   88   I8dP   88gg,8'8,     dP"  "Y8ggg,8" "8P" "8,
        i8'    ,8I   88   I8P    8I ,8'  Yb   i8'    ,8I  I8   8I   8I
        d8,   ,d8I _,88,_,d8b,  ,8I,8'_   8) ,d8,   ,d8' ,dP   8I   Yb,
         Y8888P"8888P""Y88P'"Y88P"'P' "YY8P8PP"Y8888P"   8P'   8I   `Y8
              ,d8I'
            ,dP'8I
           ,8"  8I
           I8   8I
           `8, ,8I
            `Y8P"


= About

Client library for interacting with Cloud Foundry's Router.

See https://github.com/cloudfoundry/gorouter


= Usage

    client := gibson.NewCFRouterClient("10.10.16.13", messageBus)

    // set up periodic registration
    // optional if all you want is a one-off registration
    client.Greet()

    client.Register(1234, "myhost.com")
    client.Unregister(1234, "myhost.com")

= Registrar Executable

If you don't care to write your own CF Router adapter, you can use the
`registrar` executable instead:

    go install github.com/cloudfoundry/gibson/registrar

    registrar -ip=my.local.address \
      -natsAddresses=1.2.3.4:4222
      -natsUsername=nats \
      -natsPassword=nats \
      -routes=8080:example.com,8081:example.org

The registrar will stay running and continue registering the given routes.

gibson-1's People

Contributors

shalako avatar msmykowski avatar atulkc avatar mdelillo avatar robdimsdale avatar thansmann avatar yuzhangcmu avatar chou avatar rogerluo410 avatar stupakov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.