-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrequestCore.go
39 lines (31 loc) · 967 Bytes
/
requestCore.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
package requestCore
import (
"github.com/hmmftg/requestCore/libCallApi"
"github.com/hmmftg/requestCore/libCrypto"
"github.com/hmmftg/requestCore/libDictionary"
"github.com/hmmftg/requestCore/libParams"
"github.com/hmmftg/requestCore/libQuery"
"github.com/hmmftg/requestCore/libRequest"
"github.com/hmmftg/requestCore/response"
)
func (m RequestCoreModel) GetDB() libQuery.QueryRunnerInterface {
return m.QueryInterface
}
func (m RequestCoreModel) RequestTools() libRequest.RequestInterface {
return m.RequestInterface
}
func (m RequestCoreModel) Consumer() libCallApi.CallApiInterface {
return m.RemoteApiInterface
}
func (m RequestCoreModel) Responder() response.ResponseHandler {
return m.RespHandler
}
func (m RequestCoreModel) Dictionary() libDictionary.DictionaryInterface {
return m.Dict
}
func (m RequestCoreModel) Params() libParams.ParamsInterface {
return m.ParamMap
}
func (m RequestCoreModel) Sm() libCrypto.Sm {
return m.CryptoSm
}