testuplink

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 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 WithMaxSegmentSize

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

WithMaxSegmentSize creates context with max segment size 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