package proxydatasource

Import Path
	golang.org/x/pkgsite/internal/proxydatasource (on go.dev)

Dependency Relation
	imports 14 packages, and imported by one package

Involved Source Files Package proxydatasource implements an internal.DataSource backed solely by a proxy instance. Package proxydatasource implements an internal.DataSource backed solely by a proxy instance.
Package-Level Type Names (total 3, in which 1 are exported)
/* sort exporteds by: | */
DataSource implements the frontend.DataSource interface, by querying a module proxy directly and caching the results in memory. GetExperiments is unimplemented. GetLatestInfo returns latest information for unitPath and modulePath. GetModuleInfo returns the ModuleInfo as fetched from the proxy for module version specified by modulePath and version. GetModuleReadme is unimplemented. GetNestedModules will return an empty slice since it is not implemented in proxy mode. GetUnit returns information about a directory at a path. GetUnitMeta returns information about the given path. *T : golang.org/x/pkgsite/internal.DataSource func New(proxyClient *proxy.Client) *DataSource func NewBypassingLicenseCheck(c *proxy.Client) *DataSource func NewForTesting(proxyClient *proxy.Client) *DataSource
Package-Level Functions (total 4, in which 3 are exported)
New returns a new direct proxy datasource.
NewBypassingLicenseCheck returns a new direct proxy datasource that bypasses license checks. That means all data will be returned for non-redistributable modules, packages and directories.