/
generatedTProxy.go
44 lines (37 loc) · 1.37 KB
/
generatedTProxy.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
package model
//*****************************************************************************
//
// _ _ ____ _ _
// / \ _ _| |_ ___ / ___| ___ _ __ ___ _ __ __ _| |_ ___ __| |
// / _ \| | | | __/ _ \ | | _ / _ \ '_ \ / _ \ '__/ _` | __/ _ \/ _` |
// / ___ \ |_| | || (_) | | |_| | __/ | | | __/ | | (_| | || __/ (_| |
// /_/ \_\__,_|\__\___/ \____|\___|_| |_|\___|_| \__,_|\__\___|\__,_|
//
// This file is autogenerated by "go generate .". Do not modify.
//
//*****************************************************************************
// ----------------------------------------------------
// Implementation(s) of TProxy
// ----------------------------------------------------
//TProxyOnProxyHolder is the struct containing the Proxy in order to implement TProxy
type TProxyOnProxyHolder struct {
h Proxy
}
//CreateTProxyForProxy returns an holder of Proxy implementing TProxy
func CreateTProxyForProxy(o Proxy) TProxyOnProxyHolder {
return TProxyOnProxyHolder{
h: o,
}
}
//HTTP returns the proxy http definition
func (r TProxyOnProxyHolder) HTTP() string {
return r.h.Http
}
//HTTPS returns the proxy https definition
func (r TProxyOnProxyHolder) HTTPS() string {
return r.h.Https
}
//NoProxy returns the no proxy definition
func (r TProxyOnProxyHolder) NoProxy() string {
return r.h.NoProxy
}