netspel: github.com/myshkin5/netspel/adapters/sse Index | Files

package sse

import "github.com/myshkin5/netspel/adapters/sse"

Index

Package Files

reader.go writer.go

Constants

const (
    Port             = prefix + "port"
    RemoteWriterAddr = prefix + "remote-writer-addr"

    DefaultPort             = 38208
    DefaultRemoteWriterAddr = "localhost"
)

type Reader Uses

type Reader struct {
    // contains filtered or unexported fields
}

func (*Reader) Close Uses

func (r *Reader) Close() error

func (*Reader) Init Uses

func (r *Reader) Init(config jsonstruct.JSONStruct) error

func (*Reader) Read Uses

func (r *Reader) Read(message []byte) (int, error)

type Writer Uses

type Writer struct {
    // contains filtered or unexported fields
}

func (*Writer) Close Uses

func (w *Writer) Close() error

func (*Writer) Init Uses

func (w *Writer) Init(config jsonstruct.JSONStruct) error

func (*Writer) Write Uses

func (w *Writer) Write(message []byte) (int, error)

Package sse imports 7 packages (graph) and is imported by 1 packages. Updated 2016-07-18. Refresh now. Tools for package owners.