testuplink

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: MIT Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMaxSegmentSize

func GetMaxSegmentSize(ctx context.Context) (memory.Size, bool)

GetMaxSegmentSize returns max segment size from context if exists.

func IsWithoutPlainSize added in v1.4.6

func IsWithoutPlainSize(ctx context.Context) bool

IsWithoutPlainSize returns true if information about not sending segment plain size exists in context. Only for testing purposes.

func WithMaxSegmentSize

func WithMaxSegmentSize(ctx context.Context, segmentSize memory.Size) context.Context

WithMaxSegmentSize creates context with max segment size for testing purposes.

func WithoutPlainSize added in v1.4.6

func WithoutPlainSize(ctx context.Context) context.Context

WithoutPlainSize creates context with information that segment plain size shouldn't be sent. Only for testing purposes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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