streams

package
v1.1.1-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) (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.

func (Stream) Write

func (s Stream) Write(data []byte) (n int, err error)

func (Stream) WriteString

func (s Stream) WriteString(data string) (n int, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL