This project is mirrored from https://gitee.com/NQL886/scope.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 31 Oct, 2016 1 commit
  2. 05 Oct, 2016 1 commit
  3. 01 Jul, 2016 2 commits
  4. 22 Feb, 2016 1 commit
    • Tom Wilkie's avatar
      Refactor app for multitenancy · 5f7f74bf
      Tom Wilkie authored
      - Add interfaces to allow for alternative implementations for Collector, ControlRouter
        and PipeRouter.
      - Pass contexts on http handlers to these interfaces.  Although not used by the current
        (local, in-memory) implementations, the idea is this will be used to pass headers to
        implementations which support multitenancy (by, for instance, putting an authenticating
        reverse proxy in form of the app, and then inspecting the headers of the request for
        a used id).
      5f7f74bf
  5. 16 Feb, 2016 1 commit
    • Alfonso Acosta's avatar
      Use github.com/ugorji/go/codec/ for wiring messages · 0d917b2d
      Alfonso Acosta authored
      * New encoding format:
        * Msgpack reports between probe<->app (smaller representation, faster to
          encode/decode).
        * Still use JSON between app<->UI (try to avoid making javascript deal with
          mspack).
      
        The app still suports publishing reports in both gob and JSON, not braking
        backwards compatibility.
      
      * Use compile-time generated marshallers/unmarshallers for higher performance. In
        order to be able to skip code-generation for certain types, I included
        https://github.com/2opremio/go-1/tree/master/codec/codecgen instead of
        upstream until https://github.com/ugorji/go/pull/139 is merged.
      
      * Encode/decode intermediate types using github.com/ugorji/go/codec.Selfer
        for higher performance and reducing garbage collection (no temporary buffers).
      0d917b2d
  6. 06 Jan, 2016 1 commit
  7. 10 Dec, 2015 1 commit
    • Tom Wilkie's avatar
      Pipe plumbing · ac9c0114
      Tom Wilkie authored
      - Add store of pipes in the app
      - Add pipe type, handling impedance mismatch, used in app and probe.
      - App <-> Probe pipes have their own websockets.
      - Add pipe websocket endpoint in app.
      - Pipe IDs are strings, lose the request/response IDs, and give the json encoder lowercase field names.
      - Add simple golang ws client, for testing.
      - Pipe lifecycle plumbing.
      - Ref count and timeout both ends of pipes in the app
      - Deal with POST /api/pipe/:pid?_method=delete
      - Add end-to-end unit test for pipes.
      - Add test for timing out pipes.
      - Update go-docker client to tomwilkie/go-dockerclient
      - Backend work for non-raw ttys
      - Close pipes when they close themselves in the probe
      - Ensure all http connections are done before returning from client.Stop()
      ac9c0114
  8. 07 Dec, 2015 1 commit
  9. 06 Nov, 2015 1 commit