func (b *GlucoseReadStreamer) WriteGlucoseRead(c apimodel.GlucoseRead) (g *GlucoseReadStreamer, err error) {
	return b.WriteGlucoseReads([]apimodel.GlucoseRead{c})
}
WriteGlucoseRead writes a single GlucoseRead into the buffer.
package streaming
import (
	"github.com/alexandre-normand/glukit/app/apimodel"
	"github.com/alexandre-normand/glukit/app/container"
	"github.com/alexandre-normand/glukit/app/glukitio"
	"time"
)
type GlucoseReadStreamer struct {
	head      *container.ImmutableList
	startTime *time.Time
	wr        glukitio.GlucoseReadBatchWriter
	d         time.Duration
}
const (
	BUFFER_SIZE = 86400
)