docs

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultBaseURL = "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/"
	SiteURL        = "https://pnp.github.io/powershell/cmdlets/"
	DefaultTTL     = 24 * time.Hour
)

Variables

This section is empty.

Functions

func DefaultCacheDir added in v0.0.3

func DefaultCacheDir() string

Types

type Client

type Client struct {
	BaseURL  string
	HTTP     *http.Client
	CacheDir string
	TTL      time.Duration
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cacheDir string) *Client

func (*Client) Fetch

func (c *Client) Fetch(ctx context.Context, cmdlet, version string) (string, error)

Jump to

Keyboard shortcuts

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