~ubuntu-branches/ubuntu/utopic/hockeypuck/utopic-proposed

« back to all changes in this revision

Viewing changes to build/src/github.com/hockeypuck/hockeypuck/hkp/config.go

  • Committer: Package Import Robot
  • Author(s): Casey Marshall
  • Date: 2014-04-13 20:06:01 UTC
  • Revision ID: package-import@ubuntu.com-20140413200601-oxdlqn1gy0x8m55u
Tags: 1.0~rel20140413+7a1892a~trusty
Hockeypuck 1.0 release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
   Hockeypuck - OpenPGP key server
 
3
   Copyright (C) 2012-2014  Casey Marshall
 
4
 
 
5
   This program is free software: you can redistribute it and/or modify
 
6
   it under the terms of the GNU Affero General Public License as published by
 
7
   the Free Software Foundation, version 3.
 
8
 
 
9
   This program is distributed in the hope that it will be useful,
 
10
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
   GNU Affero General Public License for more details.
 
13
 
 
14
   You should have received a copy of the GNU Affero General Public License
 
15
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
16
*/
 
17
 
 
18
// Package hkp implements the OpenPGP HTTP Keyserver Protocol, as
 
19
// described in the Internet-Draft, http://ietfreport.isoc.org/idref/draft-shaw-openpgp-hkp/.
 
20
//
 
21
// hkp provides a few extensions to the protocol, such as
 
22
// SKS hashquery, server statistics and JSON-formatted search results.
 
23
package hkp
 
24
 
 
25
import (
 
26
        "github.com/hockeypuck/hockeypuck"
 
27
)
 
28
 
 
29
// Settings stores HKP-specific settings for Hockeypuck.
 
30
type Settings struct {
 
31
        *hockeypuck.Settings
 
32
}
 
33
 
 
34
// Config returns the global HKP-specific Settings for Hockeypuck.
 
35
func Config() *Settings {
 
36
        return &Settings{hockeypuck.Config()}
 
37
}