Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduce A Talk “The Athens Project - A Proxy...

Introduce A Talk “The Athens Project - A Proxy Server for Go Modules”

Introduce “The Athens Project - A Proxy Server for Go Modules” which is session of GopherCon 2019 at San Diego.
I talked this Reporting GopherCon 2019 Meeting by Gopher Dojo.
https://gopherdojo.connpass.com/event/141608/

Sawada Shota

August 26, 2019
Tweet

More Decks by Sawada Shota

Other Decks in Programming

Transcript

  1. Introduce A Talk “The Athens Project - A Proxy Server

    for Go Modules” GopherCon 2019 報告会 by Gopher道場, AUG 26 2019 Shota Sawada CrowdWorks Inc, @xioota
  2. * Aaron Schlesinger / @arschles * Core Maintainer Of Athens

    Project * Developer advocate at Microsoft Azure About Original Session’s Speaker
  3. How To Break Go App • git push --delete origin

    v1.0.2 • リポジトリ削除 • s/myrepo/MyRepo • GitHubが落ちる
  4. Go Modules API • GET /github.com/my/module/@v/list • GET /github.com/my/module/@v/v1.0.2.info •

    GET /github.com/my/module/@v/v1.0.2.mod • GET /github.com/my/module/@v/v1.0.2.zip https://golang.org/cmd/go/#hdr-Module_proxy_protocol
  5. What Athens can do well now? • のない ネットワーク内で •

    外部からのトラフィックがない自社ネットワーク内で https://docs.gomods.io/intro/known-limitations/
  6. Reading Athens Source Code type Error struct { Kind int

    Op Op Module M Version V Err error Severity logrus.Level } Handling Go errorsの内容が実 践されてて勉強にな る