types

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2017 License: Apache-2.0 Imports: 1 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppendToStreamOutput

type AppendToStreamOutput struct {
	Offset string
}

type AppendToStreamRequest

type AppendToStreamRequest struct {
	Stream string
	Lines  []string
}

type ChunkSpec

type ChunkSpec struct {
	// TODO: calculate this
	ChunkPath string `json:"chunk_path"`

	StreamName  string `json:"stream_name"`
	ChunkNumber int    `json:"chunk_number"`
}

type CreateStreamOutput

type CreateStreamOutput struct {
	Name string
}

type CreateStreamRequest

type CreateStreamRequest struct {
	Name string
}

type LiveReadInput

type LiveReadInput struct {
	Cursor         string
	MaxLinesToRead int
}

type LongTermShippableFile

type LongTermShippableFile struct {
	Block    *cursor.Cursor // offset and server irrelevant
	FilePath string
}

type SubscribeToStreamRequest

type SubscribeToStreamRequest struct {
	Stream         string
	SubscriptionId string
}

type SubscriberNotification

type SubscriberNotification struct {
	SubscriptionId         string
	LatestCursorSerialized string
}

type UnsubscribeFromStreamRequest

type UnsubscribeFromStreamRequest struct {
	Stream         string
	SubscriptionId string
}

Jump to

Keyboard shortcuts

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