mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10:32 +00:00
docs: Fix outdated validation hook's link (#1351)
This commit is contained in:
committed by
Aaron Schlesinger
parent
130170af4a
commit
eb4ebdb612
@@ -21,7 +21,7 @@ The Go community has had lots of problems with libraries disappearing or changin
|
||||
|
||||
### Logic
|
||||
|
||||
The fact that the Go command line can now ping _your own_ server to download dependencies, that means you can program whatever logic you want around providing such dependencies. Things like Access Control (discussed below), adding custom versions, custom forks, and custom packages. For example, Athens provides a [Validation Hook](https://github.com/gomods/athens/blob/master/config.dev.toml#L87) that will get called for every module download to determine whether a module should be downloaded or not. Therefore, you can extend Athens with your own logic such as scanning a module path or code for red flags etc.
|
||||
The fact that the Go command line can now ping _your own_ server to download dependencies, that means you can program whatever logic you want around providing such dependencies. Things like Access Control (discussed below), adding custom versions, custom forks, and custom packages. For example, Athens provides a [Validation Hook](https://github.com/gomods/athens/blob/master/config.dev.toml#L127) that will get called for every module download to determine whether a module should be downloaded or not. Therefore, you can extend Athens with your own logic such as scanning a module path or code for red flags etc.
|
||||
|
||||
|
||||
### Performance
|
||||
|
||||
Reference in New Issue
Block a user