type golang.org/x/pkgsite/internal.DataSource
26 uses
golang.org/x/pkgsite/internal (current package)
datasource.go#L10: type DataSource interface {
golang.org/x/pkgsite/internal/frontend
404.go#L45: ds internal.DataSource, fullPath, modulePath, requestedVersion string) (err error) {
details.go#L26: func (s *Server) serveDetails(w http.ResponseWriter, r *http.Request, ds internal.DataSource) (err error) {
directory.go#L95: func getNestedModules(ctx context.Context, ds internal.DataSource, um *internal.UnitMeta, sds []*DirectoryInfo) ([]*DirectoryInfo, error) {
fetch.go#L90: func (s *Server) serveFetch(w http.ResponseWriter, r *http.Request, ds internal.DataSource) (err error) {
fetch.go#L130: func (s *Server) fetchAndPoll(ctx context.Context, ds internal.DataSource, modulePath, fullPath, requestedVersion string) (status int, responseText string) {
fetch.go#L490: func modulePathsToFetch(ctx context.Context, ds internal.DataSource, fullPath, modulePath string) (_ []string, err error) {
imports.go#L38: func fetchImportsDetails(ctx context.Context, ds internal.DataSource, pkgPath, modulePath, resolvedVersion string) (_ *ImportsDetails, err error) {
imports.go#L97: func fetchImportedByDetails(ctx context.Context, ds internal.DataSource, pkgPath, modulePath string) (*ImportedByDetails, error) {
license.go#L39: func fetchLicensesDetails(ctx context.Context, ds internal.DataSource, um *internal.UnitMeta) (*LicensesDetails, error) {
main.go#L107: func fetchMainDetails(ctx context.Context, ds internal.DataSource, um *internal.UnitMeta, expandReadme bool, bc internal.BuildContext) (_ *MainDetails, err error) {
search.go#L226: func (s *Server) serveSearch(w http.ResponseWriter, r *http.Request, ds internal.DataSource) error {
search.go#L293: func searchRequestRedirectPath(ctx context.Context, ds internal.DataSource, query string) string {
server.go#L38: getDataSource func(context.Context) internal.DataSource
server.go#L62: DataSourceGetter func(context.Context) internal.DataSource
server.go#L342: func (s *Server) errorHandler(f func(w http.ResponseWriter, r *http.Request, ds internal.DataSource) error) http.HandlerFunc {
styleguide.go#L33: func (s *Server) serveStyleGuide(w http.ResponseWriter, r *http.Request, ds internal.DataSource) error {
tabs.go#L78: func fetchDetailsForUnit(ctx context.Context, r *http.Request, tab string, ds internal.DataSource, um *internal.UnitMeta, bc internal.BuildContext) (_ interface{}, err error) {
unit.go#L94: ds internal.DataSource, info *urlPathInfo) (err error) {
urlinfo.go#L192: func checkExcluded(ctx context.Context, ds internal.DataSource, fullPath string) error {
versions.go#L84: func fetchVersionsDetails(ctx context.Context, ds internal.DataSource, fullPath, modulePath string) (*VersionsDetails, error) {
golang.org/x/pkgsite/internal/proxydatasource
datasource.go#L27: var _ internal.DataSource = (*DataSource)(nil)
golang.org/x/pkgsite/cmd/frontend
main.go#L64: dsg func(context.Context) internal.DataSource
main.go#L87: dsg = func(context.Context) internal.DataSource { return pds }
main.go#L94: dsg = func(context.Context) internal.DataSource { return db }
golang.org/x/pkgsite/cmd/pkgsite
main.go#L57: dsg := func(context.Context) internal.DataSource { return lds }
 |
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. |