comparison pkg/models/imports.go @ 2016:25967829cf00 unify_imports

Started to simplify the import models.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 24 Jan 2019 17:14:10 +0100
parents
children 8a62ce2a5c70
comparison
equal deleted inserted replaced
2003:917c672591c2 2016:25967829cf00
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) 2018 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 package models
14
15 import "gemma.intevation.de/gemma/pkg/common"
16
17 type BottleneckImport struct {
18 URL string `json:"url"`
19 Insecure bool `json:"insecure"`
20 SendEmail bool `json:"send-email"`
21 Attributes common.Attributes `json:"attributes,omitempty"`
22 }