Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EngineConnection ¶
EngineConnection object of engine pet tester
func NewEngineConnection ¶
func NewEngineConnection(host, appKey, appSecret string) *EngineConnection
NewEngineConnection generate a new EngineConnection object
func (*EngineConnection) CallRiskEngine ¶
func (e *EngineConnection) CallRiskEngine(eventCode string, flag string, fields map[string]interface{}) (*EngineResponse, error)
CallRiskEngine is used to send request to ctu engine, and got EngineResponse and error
type EngineResponse ¶
Click to show internal directories.
Click to hide internal directories.