Documentation ¶ Index ¶ func CheckRepo(ctx context.Context, afs afero.Fs, httpClient *http.Client, pkgName string) error type Alias type Package type Redirect func CheckRedirect(ctx context.Context, afs afero.Fs, httpClient *http.Client, pkgName string) (*Redirect, error) type Registry Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CheckRepo ¶ func CheckRepo(ctx context.Context, afs afero.Fs, httpClient *http.Client, pkgName string) error Types ¶ type Alias ¶ type Alias struct { Name string } type Package ¶ type Package struct { RepoOwner string `yaml:"repo_owner"` RepoName string `yaml:"repo_name"` Aliases []*Alias } type Redirect ¶ type Redirect struct { RepoOwner string RepoName string NewRepoOwner string NewRepoName string NewPackageName string } func CheckRedirect ¶ func CheckRedirect(ctx context.Context, afs afero.Fs, httpClient *http.Client, pkgName string) (*Redirect, error) type Registry ¶ type Registry struct { Packages []*Package } Source Files ¶ View all Source files handler.go Click to show internal directories. Click to hide internal directories.