Mercurial > gemma
comparison pkg/controllers/stretches.go @ 3245:60f25cbe77fb
Added API stubs from fairway availabilty for stretches and sections.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 13 May 2019 09:15:20 +0200 |
parents | |
children | 2b5c22f6bb1f |
comparison
equal
deleted
inserted
replaced
3244:b27759d0cdff | 3245:60f25cbe77fb |
---|---|
1 // This is Free Software under GNU Affero General Public License v >= 3.0 | |
2 // without warranty, see README.md and license for details. | |
3 // | |
4 // SPDX-License-Identifier: AGPL-3.0-or-later | |
5 // License-Filename: LICENSES/AGPL-3.0.txt | |
6 // | |
7 // Copyright (C) 2099 by via donau | |
8 // – Österreichische Wasserstraßen-Gesellschaft mbH | |
9 // Software engineering by Intevation GmbH | |
10 // | |
11 // Author(s): | |
12 // * Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
13 | |
14 package controllers | |
15 | |
16 import ( | |
17 "database/sql" | |
18 "net/http" | |
19 ) | |
20 | |
21 func stretchAvailabilty( | |
22 _ interface{}, | |
23 req *http.Request, | |
24 conn *sql.Conn, | |
25 ) (jr JSONResult, err error) { | |
26 // TODO: Implement me! | |
27 return | |
28 } | |
29 | |
30 func stretchAvailableFairwayDepth(rw http.ResponseWriter, req *http.Request) { | |
31 // TODO: Implement me! | |
32 } |