Documentation ¶
Overview ¶
Package base
Package base
Index ¶
Constants ¶
View Source
const ( HeaderDefaultLength = 4 BodyDefaultLength = 1024 )
Variables ¶
View Source
var Clients = make(map[Protocol]Client)
已经实现的协议池
Functions ¶
Types ¶
type AWResult ¶
type AWResult struct { Id string Name string Result bool ReqBegin int64 RespTime int64 TransactionId string LogInfo []interface{} AW }
请求响应
func NewAWResult ¶
func NewAWResult() *AWResult
type Logger ¶
type Logger interface { Debug(format string) Debugf(format string, v ...interface{}) Info(format string) Infof(format string, v ...interface{}) Error(format string) Errorf(format string, v ...interface{}) }
日志接口
type PluginFunc ¶
type PluginFunc interface { SetBase(*BaseCase) Setup() Test() TearDown() }
插件系统的解析对接接口
Click to show internal directories.
Click to hide internal directories.