Documentation ¶
Index ¶
- type Builder
- type Instance
- func (i *Instance) Addr() interface{}
- func (in Instance) Field(name string) (reflect.Value, error)
- func (i *Instance) Interface() interface{}
- func (in *Instance) SetBool(name string, value bool)
- func (in *Instance) SetFloat64(name string, value float64)
- func (in *Instance) SetInt64(name string, value int64)
- func (in *Instance) SetString(name, value string)
- type LatencyResult
- type Struct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
构造器
func NewBuilder ¶
func NewBuilder() *Builder
func (*Builder) AddFloat64 ¶
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
结构体的值
func (*Instance) SetFloat64 ¶
type LatencyResult ¶
type LatencyResult struct { Count int ErrCount int ExecSeconds float64 // contains filtered or unexported fields }
func (*LatencyResult) Append ¶
func (lr *LatencyResult) Append(latency *time.Duration, isErr bool) error
func (*LatencyResult) Init ¶
func (lr *LatencyResult) Init()
func (*LatencyResult) Print ¶
func (lr *LatencyResult) Print() error
Click to show internal directories.
Click to hide internal directories.