webFS

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

README

webFS

webFS provides a read-only (with limited write) io/fs implementation over HTTP/HTTPS.

Features

  • HTTP/HTTPS Access: Access remote resources via standard web protocols.
  • Header Support: Can include custom headers for authentication or session management.
  • Insecure Mode: Supports skipping TLS verification if needed.

Usage

import (
    "github.com/je4/filesystem/v3/pkg/webFS"
)

// Initialize Web filesystem
fsys, err := webFS.NewFS(
    "https://api.example.com",
    headers, // map[string][]string
    true, // insecure skip verify
    logger,
)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFS

func NewFS(baseuri string, header map[string][]string, tlsInsecureSkipVerify bool, logger zLogger.ZLogger) (*webFSRW, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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