Get a strain.
This commit is contained in:
parent
20d65bd561
commit
6c118f47f7
11 changed files with 267 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
|
@ -16,4 +16,6 @@ const (
|
|||
SpeciesList = "species:list"
|
||||
UpdateSpecies = "species:update"
|
||||
DeleteSpecies = "species:delete"
|
||||
|
||||
Strain = "strain:get"
|
||||
)
|
||||
|
|
Reference in a new issue