Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrServerError = errors.New("error from server (HTTP Status > 299)")
ErrServerError makes it a little easier for the caller to check the underlying HTTP response
Functions ¶
This section is empty.
Types ¶
type RESTStream ¶ added in v1.7.2
type RESTStream struct {
// contains filtered or unexported fields
}
func NewRESTStream ¶ added in v1.7.2
func NewRESTStream(url *url.URL, entity, sampler, streamname string) (stream RESTStream, err error)
type Stream ¶
type Stream struct { io.Writer io.StringWriter xmlrpc.Sampler // contains filtered or unexported fields }
func Open ¶ added in v1.2.1
func Open(url *url.URL, entity, sampler string, stream string, options ...xmlrpc.Options) (s *Stream, err error)
Open a stream for writing. `stream` is an optional stream name and additional arguments are ignored. If no stream name is supplied then the sampler name is used for the stream name.
Click to show internal directories.
Click to hide internal directories.