type golang.org/x/pkgsite/internal/source.Client
21 uses
golang.org/x/pkgsite/internal/source (current package)
meta-tags.go#L40: func fetchMeta(ctx context.Context, client *Client, importPath string) (_ *sourceMeta, err error) {
source.go#L208: type Client struct {
source.go#L215: func NewClient(timeout time.Duration) *Client {
source.go#L216: return &Client{
source.go#L227: func NewClientForTesting() *Client {
source.go#L228: return &Client{}
source.go#L234: func (c *Client) doURL(ctx context.Context, method, url string, only200 bool) (_ *http.Response, err error) {
source.go#L260: func ModuleInfo(ctx context.Context, client *Client, modulePath, version string) (info *Info, err error) {
source.go#L373: func moduleInfoDynamic(ctx context.Context, client *Client, modulePath, version string) (_ *Info, err error) {
source.go#L499: func adjustVersionedModuleDirectory(ctx context.Context, client *Client, info *Info) {
golang.org/x/pkgsite/internal/fetch
fetch.go#L119: func FetchModule(ctx context.Context, modulePath, requestedVersion string, proxyClient *proxy.Client, sourceClient *source.Client) (fr *FetchResult) {
fetch.go#L150: func fetchModule(ctx context.Context, fr *FetchResult, proxyClient *proxy.Client, sourceClient *source.Client) (*FetchInfo, error) {
fetch.go#L292: func processZipFile(ctx context.Context, modulePath string, resolvedVersion string, commitTime time.Time, zipReader *zip.Reader, sourceClient *source.Client) (_ *internal.Module, _ []*internal.PackageVersionState, err error) {
fetchlocal.go#L37: func FetchLocalModule(ctx context.Context, modulePath, localPath string, sourceClient *source.Client) *FetchResult {
golang.org/x/pkgsite/internal/frontend
fetch.go#L548: func FetchAndUpdateState(ctx context.Context, modulePath, requestedVersion string, proxyClient *proxy.Client, sourceClient *source.Client, db *postgres.DB) (_ int, err error) {
golang.org/x/pkgsite/internal/localdatasource
datasource.go#L29: sourceClient *source.Client
golang.org/x/pkgsite/internal/proxydatasource
datasource.go#L38: func newDataSource(proxyClient *proxy.Client, sourceClient *source.Client) *DataSource {
datasource.go#L62: sourceClient *source.Client
golang.org/x/pkgsite/internal/worker
fetch.go#L45: SourceClient *source.Client
server.go#L46: sourceClient *source.Client
server.go#L62: SourceClient *source.Client
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |