Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoolValue ¶
type BoolValue bool
An BoolValue provides eventstream encoding, and representation of a Go bool value.
type BytesValue ¶
type BytesValue []byte
An BytesValue provides eventstream encoding, and representation of a Go byte slice.
func (BytesValue) String ¶
func (v BytesValue) String() string
type ChecksumError ¶
type ChecksumError struct{}
ChecksumError provides the error for message checksum invalidation errors.
func (ChecksumError) Error ¶
func (e ChecksumError) Error() string
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
Decoder provides decoding of an Event Stream messages.
func NewDecoder ¶
NewDecoder initializes and returns a Decoder for decoding event stream messages from the reader provided.
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
Encoder provides EventStream message encoding.
func NewEncoder ¶
NewEncoder initializes and returns an Encoder to encode Event Stream messages to an io.Writer.
type Headers ¶
type Headers []Header
Headers are a collection of EventStream header values.
type Int16Value ¶
type Int16Value int16
An Int16Value provides eventstream encoding, and representation of a Go int16 value.
func (Int16Value) String ¶
func (v Int16Value) String() string
type Int32Value ¶
type Int32Value int32
An Int32Value provides eventstream encoding, and representation of a Go int32 value.
func (Int32Value) String ¶
func (v Int32Value) String() string
type Int64Value ¶
type Int64Value int64
An Int64Value provides eventstream encoding, and representation of a Go int64 value.
func (Int64Value) String ¶
func (v Int64Value) String() string
type Int8Value ¶
type Int8Value int8
An Int8Value provides eventstream encoding, and representation of a Go int8 value.
type LengthError ¶
LengthError provides the error for items being larger than a maximum length.
func (LengthError) Error ¶
func (e LengthError) Error() string
type StringValue ¶
type StringValue string
An StringValue provides eventstream encoding, and representation of a Go string.
func (StringValue) String ¶
func (v StringValue) String() string
type TimestampValue ¶
An TimestampValue provides eventstream encoding, and representation of a Go timestamp.
func (TimestampValue) Get ¶
func (v TimestampValue) Get() interface{}
Get returns the underlying value.
func (TimestampValue) String ¶
func (v TimestampValue) String() string