Get a strain.

This commit is contained in:
Matthew Dillon 2014-10-28 16:14:14 -08:00
parent 20d65bd561
commit 6c118f47f7
11 changed files with 267 additions and 0 deletions

View file

@ -24,5 +24,8 @@ func API() *mux.Router {
m.Path("/species/{Id:.+}").Methods("PUT").Name(UpdateSpecies)
m.Path("/species/{Id:.+}").Methods("DELETE").Name(DeleteSpecies)
// Strains
m.Path("/strains/{Id:.+}").Methods("GET").Name(Strain)
return m
}

View file

@ -16,4 +16,6 @@ const (
SpeciesList = "species:list"
UpdateSpecies = "species:update"
DeleteSpecies = "species:delete"
Strain = "strain:get"
)