...
1
2
5
6
21
22 package getestservice
23
24 import (
25 "sync"
26 "golang.conradwood.net/go-easyops/client"
27 )
28 var (
29 lock_EasyOpsTestClient_3 sync.Mutex
30 client_EasyOpsTestClient_3 EasyOpsTestClient
31 )
32
33 func GetEasyOpsTestClient() EasyOpsTestClient {
34 if client_EasyOpsTestClient_3 != nil {
35 return client_EasyOpsTestClient_3
36 }
37
38 lock_EasyOpsTestClient_3.Lock()
39 if client_EasyOpsTestClient_3 != nil {
40 lock_EasyOpsTestClient_3.Unlock()
41 return client_EasyOpsTestClient_3
42 }
43
44 client_EasyOpsTestClient_3 = NewEasyOpsTestClient(client.Connect(EasyOpsTestLookupID()))
45 lock_EasyOpsTestClient_3.Unlock()
46 return client_EasyOpsTestClient_3
47 }
48
49 func EasyOpsTestLookupID() string { return "getestservice.EasyOpsTest" }
50
51 func init() {
52 client.RegisterDependency("getestservice.EasyOpsTest")
53 AddService("getestservice.EasyOpsTest")
54 }
55
View as plain text