1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2025-07-02 20:28:38 -04:00

prices: Implement initial API and tests

This commit is contained in:
2017-11-10 20:13:49 -05:00
parent 7e728ff29b
commit 9b1b682bac
4 changed files with 412 additions and 9 deletions

View File

@ -55,6 +55,7 @@ func GetHandler(db *gorp.DbMap) *http.ServeMux {
servemux.HandleFunc("/session/", TxHandlerFunc(SessionHandler, db))
servemux.HandleFunc("/user/", TxHandlerFunc(UserHandler, db))
servemux.HandleFunc("/security/", TxHandlerFunc(SecurityHandler, db))
servemux.HandleFunc("/price/", TxHandlerFunc(PriceHandler, db))
servemux.HandleFunc("/securitytemplate/", SecurityTemplateHandler)
servemux.HandleFunc("/account/", TxHandlerFunc(AccountHandler, db))
servemux.HandleFunc("/transaction/", TxHandlerFunc(TransactionHandler, db))