-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprotocol_stub.go
55 lines (48 loc) · 1.3 KB
/
protocol_stub.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// go-seckeychain - Native OS X Security.framework binding for Golang
// Copyright (c) 2015 Chaiwat Shuetrakoonpaiboon. All rights reserved.
//
// Use of this source code is governed by a MIT license that can be found in
// the LICENSE file.
// +build !darwin !cgo
package seckeychain
// See https://developer.apple.com/library/mac/documentation/Security/Reference/keychainservices/index.html for the APIs used below.
// Also see https://developer.apple.com/library/ios/documentation/Security/Conceptual/keychainServConcepts/01introduction/introduction.html .
type ProtocolType int
// From http://www.opensource.apple.com/source/libsecurity_
const (
ProtocolTypeFTP = iota
ProtocolTypeFTPAccount
ProtocolTypeHTTP
ProtocolTypeIRC
ProtocolTypeNNTP
ProtocolTypePOP3
ProtocolTypeSMTP
ProtocolTypeSOCKS
ProtocolTypeIMAP
ProtocolTypeLDAP
ProtocolTypeAppleTal
ProtocolTypeAFP
ProtocolTypeTelnet
ProtocolTypeSSH
ProtocolTypeFTPS
ProtocolTypeHTTPS
ProtocolTypeHTTPProxy
ProtocolTypeHTTPSProxy
ProtocolTypeFTPProxy
ProtocolTypeCIFS
ProtocolTypeSMB
ProtocolTypeRTSP
ProtocolTypeRTSPProxy
ProtocolTypeDAAP
ProtocolTypeEPPC
ProtocolTypeIPP
ProtocolTypeNNTPS
ProtocolTypeLDAPS
ProtocolTypeTelnetS
ProtocolTypeIMAPS
ProtocolTypeIRCS
ProtocolTypePOP3S
ProtocolTypeCVSpserver
ProtocolTypeSVN
ProtocolTypeAny
)