basestream

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: MIT Imports: 0 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Locator

type Locator interface {
	Compare(b Locator) int
	Inc() Locator
}

type Payload

type Payload interface {
	Len() int
	TotalSize() uint64
	TotalMemSize() int
}

type Request

type Request struct {
	Session        Session
	Type           RequestType
	MaxPayloadNum  uint32
	MaxPayloadSize uint64
	MaxChunks      uint32
}

type RequestType

type RequestType uint8

type Response

type Response struct {
	SessionID uint32
	Done      bool
	Payload   Payload
}

type Session

type Session struct {
	ID    uint32
	Start Locator
	Stop  Locator
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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