MCPcopy Index your code
hub / github.com/Apress/network-prog-with-go-2e

github.com/Apress/network-prog-with-go-2e @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
503 symbols 978 edges 122 files 16 documented · 3%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Apress Source Code

This repository accompanies Network Programming with Go Language by Jan Newmarch and Ronald Petty (Apress, 2022).

Cover image

Download the files as a zip using the green button, or clone the repository to your machine using Git.

Releases

Release v1.0 corresponds to the code in the published book, without corrections or updates.

Contributions

See the file Contributing.md for more information on how you can contribute to this repository.

Extension points exported contracts — how you extend this code

Animal (Interface)
(no doc) [3 implementers]
appendix-generics/generics.go
Animal (Interface)
(no doc) [3 implementers]
appendix-generics/simple_generics.go
MyType (Interface)
(no doc) [2 implementers]
appendix-generics/complex_generics.go
MustBe (Interface)
Here we use a union of types “|” Meaning our arguments must be of these types Either channel or the above linkedlist ty
appendix-generics/iterate.go
MyType (Interface)
(no doc) [2 implementers]
appendix-generics/generics.go
Domesticated (Interface)
(no doc)
appendix-generics/simple_generics.go
Lener (Interface)
(no doc) [2 implementers]
appendix-generics/complex_generics.go
Result (Interface)
We use the union technique once more on the return types Notice these can differ than the above "MustBe" types
appendix-generics/iterate.go

Core symbols most depended-on inside this repo

jQuery
called by 63
ch10/jscript/jquery.js
String
called by 41
ch10/dictionary.go
Read
called by 25
appendix-generics/generics.go
checkError
called by 12
ch14/clientjson.go
makeArray
called by 10
ch10/jscript/jquery.js
checkError
called by 7
ch14/client.go
printElmt
called by 6
ch12/parsexml.go
checkError
called by 6
ch7/genx509cert.go

Shape

Function 344
Struct 92
Method 55
Interface 9
TypeAlias 3

Languages

Go87%
TypeScript13%

Modules by API surface

ch10/jscript/jquery.js53 symbols
ch4/myapp/protos/personv3.pb.go28 symbols
appendix-generics/generics.go15 symbols
ch10/dictionary.go13 symbols
appendix-generics/simple_generics.go13 symbols
ch14/clientjson.go12 symbols
ch14/server.go11 symbols
ch14/client.go11 symbols
appendix-generics/complex_generics.go9 symbols
ch9/sequence.go7 symbols
ch13/tcparithserver.go7 symbols
ch13/jsonarithserver.go7 symbols

For agents

$ claude mcp add network-prog-with-go-2e \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact