Browse Source

Moved routing files into base package.

master
Benjamin Shelton 2 months ago
parent
commit
9b7878e1d6
26 changed files with 25 additions and 25 deletions
  1. +1
    -1
      api.go
  2. +1
    -1
      application.go
  3. +1
    -1
      context.go
  4. +1
    -1
      extension.go
  5. +1
    -1
      funcs.go
  6. +1
    -1
      http.go
  7. +1
    -1
      netlisten_unix.go
  8. +1
    -1
      netlisten_windows.go
  9. +1
    -1
      network.go
  10. +1
    -1
      network_unix.go
  11. +1
    -1
      network_windows.go
  12. +1
    -1
      proxy.go
  13. +1
    -1
      route.go
  14. +1
    -1
      router.go
  15. +1
    -1
      router_bind.go
  16. +1
    -1
      router_listen.go
  17. +1
    -1
      router_private.go
  18. +1
    -0
      router_trie.go
  19. +1
    -1
      router_utils.go
  20. +1
    -1
      routergroup.go
  21. +0
    -1
      routing/router_trie.go
  22. +1
    -1
      service.go
  23. +1
    -1
      types.go
  24. +1
    -1
      urls.go
  25. +1
    -1
      urls_test.go
  26. +1
    -1
      vfs.go

routing/api.go → api.go View File

@@ -1,4 +1,4 @@
package routing
package capstan

import (
"net/http"

routing/application.go → application.go View File

@@ -1,4 +1,4 @@
package routing
package capstan

import (
"net/http"

routing/context.go → context.go View File

@@ -1,4 +1,4 @@
package routing
package capstan

import (
"encoding/json"

routing/extension.go → extension.go View File

@@ -1,4 +1,4 @@
package routing
package capstan

import (
"net/http"

routing/funcs.go → funcs.go View File

@@ -1,4 +1,4 @@
package routing
package capstan

import (
"fmt"

routing/http.go → http.go View File

@@ -1,4 +1,4 @@
package routing
package capstan

import (
"net"

routing/netlisten_unix.go → netlisten_unix.go View File

@@ -1,6 +1,6 @@
// +build !windows

package routing
package capstan

import (
"encoding/json"

routing/netlisten_windows.go → netlisten_windows.go View File

@@ -7,7 +7,7 @@
// world, patches are welcome and these are the two entrypoints that lead to the
// public implementation. It may also be necessary to reimplement Relaunch().

package routing
package capstan

import (
"net"

routing/network.go → network.go View File

@@ -1,4 +1,4 @@
package routing
package capstan

import (
"fmt"

routing/network_unix.go → network_unix.go View File

@@ -1,6 +1,6 @@
// +build !windows

package routing
package capstan

import (
"fmt"

routing/network_windows.go → network_windows.go View File

@@ -1,4 +1,4 @@
package routing
package capstan

import (
"syscall"

routing/proxy.go → proxy.go View File

@@ -1,4 +1,4 @@
package routing
package capstan

import (
"bytes"

routing/route.go → route.go View File

@@ -1,4 +1,4 @@
package routing
package capstan

import (
"context"

routing/router.go → router.go View File

@@ -1,4 +1,4 @@
package routing
package capstan

import (
"context"

routing/router_bind.go → router_bind.go View File

@@ -1,4 +1,4 @@
package routing
package capstan

import (
"net/http"

routing/router_listen.go → router_listen.go View File

@@ -1,4 +1,4 @@
package routing
package capstan

import (
"context"

routing/router_private.go → router_private.go View File

@@ -3,7 +3,7 @@
// Note: math/rand is imported here and is used for avoiding naming collisions
// on URLFor names generated using route names.

package routing
package capstan

import (
"math/rand"

+ 1
- 0
router_trie.go View File

@@ -0,0 +1 @@
package capstan

routing/router_utils.go → router_utils.go View File

@@ -1,4 +1,4 @@
package routing
package capstan

import (
"strings"

routing/routergroup.go → routergroup.go View File

@@ -1,4 +1,4 @@
package routing
package capstan

import (
"net/http"

+ 0
- 1
routing/router_trie.go View File

@@ -1 +0,0 @@
package routing

routing/service.go → service.go View File

@@ -1,4 +1,4 @@
package routing
package capstan

import (
"encoding/json"

routing/types.go → types.go View File

@@ -1,4 +1,4 @@
package routing
package capstan

import (
"net/http"

routing/urls.go → urls.go View File

@@ -1,4 +1,4 @@
package routing
package capstan

import (
"net/url"

routing/urls_test.go → urls_test.go View File

@@ -1,4 +1,4 @@
package routing_test
package capstan_test

import (
"testing"

routing/vfs.go → vfs.go View File

@@ -1,4 +1,4 @@
package routing
package capstan

// Upgrade functions are called whenever a new VFS is registered matching the
// callee's pattern.

Loading…
Cancel
Save