flesh out api

This commit is contained in:
Jimmy Zelinskie 2014-07-07 21:59:41 -04:00
parent 7351d3e79a
commit d8bcbd1dde

19
http/api.go Normal file
View file

@ -0,0 +1,19 @@
// Copyright 2014 The Chihaya Authors. All rights reserved.
// Use of this source code is governed by the BSD 2-Clause license,
// which can be found in the LICENSE file.
package http
import (
"net/http"
"github.com/julienschmidt/httprouter"
)
func (t *Tracker) getTorrent(w http.ResponseWriter, r *http.Request, p httprouter.Params) int {}
func (t *Tracker) putTorrent(w http.ResponseWriter, r *http.Request, p httprouter.Params) int {}
func (t *Tracker) delTorrent(w http.ResponseWriter, r *http.Request, p httprouter.Params) int {}
func (t *Tracker) getUser(w http.ResponseWriter, r *http.Request, p httprouter.Params) int {}
func (t *Tracker) putUser(w http.ResponseWriter, r *http.Request, p httprouter.Params) int {}
func (t *Tracker) delUser(w http.ResponseWriter, r *http.Request, p httprouter.Params) int {}