zip

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(options ...Option) vfs.VFS

New creates a zipVFS instance that can be used by a serving request

Types

type Option added in v1.29.0

type Option func(*zipVFS)

Option function allows to override default values

func WithCacheCleanupInterval added in v1.29.0

func WithCacheCleanupInterval(interval time.Duration) Option

WithCacheCleanupInterval when used it can override defaultCacheCleanupInterval

func WithCacheExpirationInterval added in v1.29.0

func WithCacheExpirationInterval(interval time.Duration) Option

WithCacheExpirationInterval when used it can override defaultCacheExpirationInterval

func WithCacheRefreshInterval added in v1.29.0

func WithCacheRefreshInterval(interval time.Duration) Option

WithCacheRefreshInterval when used it can override defaultCacheRefreshInterval

func WithOpenTimeout added in v1.29.0

func WithOpenTimeout(interval time.Duration) Option

WithOpenTimeout when used it can override openTimeout

Jump to

Keyboard shortcuts

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