Files
snapd/httputil/export_test.go
Samuele Pedroni c30b43760c many: introduce snapdenv and snapdenv.Testing
introduce a new package snapdenv to present the common env options
for snapd components

start with snadpenv.Testing exposing SNAPPY_TESTING

it doesn't make sense for *util packages to use snapdenv directly,
as a consequence move (Set)UserAgent from httputil to snapdenv
2020-03-15 16:40:25 +01:00

25 lines
744 B
Go

// -*- Mode: Go; indent-tabs-mode: t -*-
/*
* Copyright (C) 2016-2020 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package httputil
var (
GetFlags = (*LoggedTransport).getFlags
)