Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-1963

Restructure arouter code base

    XMLWordPrintable

    Details

      Description

      Right now the api-server is structured as one large package. Splitting it into several packages would allow better use of per-package loglevels. A proposed hierarchy:

      afrouter
        cmd
          afrouter.go
        pkg
          core
            api.go
            arproxy.go
            backend.go
            cluster.go
            config.go
            enums.go
            method-details.go
            router.go
            server.go
            signals.go
          routers
            affinity
              affinity-router.go
            binding
              binding-router.go
            method
              method-router.go
            round-robin
              round-robin-router.go
            source
              source-router.go
          stream
            codec.go
            connection.go
            request.go

      Consider moving afrouter to a separate repository.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            scottb Scott Baker
            Reporter:
            scottb Scott Baker
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes