mirror of
https://github.com/alice-lg/birdwatcher.git
synced 2025-03-09 00:00:05 +01:00
Merge branch 'master' of https://github.com/hellerve/birdwatcher
* 'master' of https://github.com/hellerve/birdwatcher: moved import for working build ignore vim swap files
This commit is contained in:
commit
7c8ea17a06
7 changed files with 15 additions and 7 deletions
8
.gitignore
vendored
Normal file
8
.gitignore
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
*.swp
|
||||
*.swo
|
||||
|
||||
birdwatcher
|
||||
birdwatcher-*
|
||||
|
||||
|
|
@ -6,9 +6,9 @@ import (
|
|||
"net/http"
|
||||
"strings"
|
||||
|
||||
"github.com/ecix/birdwatcher/bird"
|
||||
"github.com/ecix/birdwatcher/endpoints"
|
||||
"github.com/julienschmidt/httprouter"
|
||||
"github.com/mchackorg/birdwatcher/bird"
|
||||
"github.com/mchackorg/birdwatcher/endpoints"
|
||||
)
|
||||
|
||||
func makeRouter() *httprouter.Router {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"encoding/json"
|
||||
"net/http"
|
||||
|
||||
"github.com/ecix/birdwatcher/bird"
|
||||
"github.com/julienschmidt/httprouter"
|
||||
"github.com/mchackorg/birdwatcher/bird"
|
||||
)
|
||||
|
||||
func Endpoint(wrapped func(httprouter.Params) bird.Parsed) httprouter.Handle {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package endpoints
|
||||
|
||||
import (
|
||||
"github.com/ecix/birdwatcher/bird"
|
||||
"github.com/julienschmidt/httprouter"
|
||||
"github.com/mchackorg/birdwatcher/bird"
|
||||
)
|
||||
|
||||
func Protocols(ps httprouter.Params) bird.Parsed {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package endpoints
|
||||
|
||||
import (
|
||||
"github.com/ecix/birdwatcher/bird"
|
||||
"github.com/julienschmidt/httprouter"
|
||||
"github.com/mchackorg/birdwatcher/bird"
|
||||
)
|
||||
|
||||
func ProtoRoutes(ps httprouter.Params) bird.Parsed {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package endpoints
|
||||
|
||||
import (
|
||||
"github.com/ecix/birdwatcher/bird"
|
||||
"github.com/julienschmidt/httprouter"
|
||||
"github.com/mchackorg/birdwatcher/bird"
|
||||
)
|
||||
|
||||
func Status(ps httprouter.Params) bird.Parsed {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package endpoints
|
||||
|
||||
import (
|
||||
"github.com/ecix/birdwatcher/bird"
|
||||
"github.com/julienschmidt/httprouter"
|
||||
"github.com/mchackorg/birdwatcher/bird"
|
||||
)
|
||||
|
||||
func Symbols(ps httprouter.Params) bird.Parsed {
|
||||
|
|
Loading…
Add table
Reference in a new issue