1
0
Fork 0
mirror of https://github.com/alice-lg/birdwatcher.git synced 2025-03-16 00:00:08 +01:00
birdwatcher/endpoints/protocols.go
2019-02-20 17:25:57 +01:00

16 lines
327 B
Go

package endpoints
import (
"net/http"
"github.com/alice-lg/birdwatcher/bird"
"github.com/julienschmidt/httprouter"
)
func Protocols(r *http.Request, ps httprouter.Params) (bird.Parsed, bool) {
return bird.Protocols()
}
func Bgp(r *http.Request, ps httprouter.Params) (bird.Parsed, bool) {
return bird.ProtocolsBgp()
}