Documentation ¶
Index ¶
- Constants
- func NewNoopEmitter() *noopEmitter
- func NewNoopReciver() *noopReciver
- func NewStreamEmitter(ctx runtime.Context, logger *log.Logger, tempDir string, maxPayload int32) *streamEmitter
- func NewStreamReciver(ctx runtime.Context, logger *log.Logger, tempDir string, rto time.Duration) *streamReciver
- type Destination
- type Emitter
- type FileIDAndIndex
- type PartialData
- type Reciver
- type RepliData
- type RepliType
- type RequestCurrentFileID
- type RequestCurrentFileIds
- type RequestCurrentIndex
- type RequestFetchData
- type RequestFetchSize
- type ResponseCurrentFileID
- type ResponseCurrentFileIds
- type ResponseCurrentIndex
- type ResponseFetchData
- type ResponseFetchSize
- type Source
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func NewNoopEmitter ¶
func NewNoopEmitter() *noopEmitter
func NewNoopReciver ¶
func NewNoopReciver() *noopReciver
func NewStreamEmitter ¶
Types ¶
type Destination ¶
type FileIDAndIndex ¶
type PartialData ¶
type Reciver ¶
type Reciver interface { Start(dst Destination, serverIP string, serverPort int) error Stop() error }
type RequestCurrentFileID ¶ added in v1.4.0
type RequestCurrentFileID struct { }
type RequestCurrentFileIds ¶
type RequestCurrentFileIds struct { }
type RequestCurrentIndex ¶
type RequestFetchData ¶
type RequestFetchSize ¶
type ResponseCurrentFileID ¶ added in v1.4.0
type ResponseCurrentFileIds ¶
type ResponseCurrentIndex ¶
type ResponseFetchData ¶
type ResponseFetchSize ¶
Click to show internal directories.
Click to hide internal directories.