Add /api/images

This commit is contained in:
nemunaire 2016-06-26 11:23:29 +02:00
commit 99e09acb56
3 changed files with 197 additions and 0 deletions

1
api.go
View file

@ -13,6 +13,7 @@ import (
type DispatchFunction func(*User, []string, io.ReadCloser) (interface{}, error)
var apiRoutes = map[string]*(map[string]struct{AuthFunction;DispatchFunction}){
"images": &ApiImagesRouting,
"version": &ApiVersionRouting,
}