Get Software Development with Go: Cloud-Native Programming using Golang with Linux and Docker Nanik Tolaram PDF ebook with Full Chapters Now
Get Software Development with Go: Cloud-Native Programming using Golang with Linux and Docker Nanik Tolaram PDF ebook with Full Chapters Now
com
https://ebookmeta.com/product/software-development-with-go-
cloud-native-programming-using-golang-with-linux-and-docker-
nanik-tolaram/
OR CLICK BUTTON
DOWNLOAD NOW
https://ebookmeta.com/product/fit-for-a-duke-dangerous-dukes-10-1st-
edition-wendy-soliman/
ebookmeta.com
Going Global Transnational Perspectives on Globalization
Language and Education 1st Edition Leslie Seawright
https://ebookmeta.com/product/going-global-transnational-perspectives-
on-globalization-language-and-education-1st-edition-leslie-seawright/
ebookmeta.com
https://ebookmeta.com/product/php-and-mysql-174-web-development-luke-
welling/
ebookmeta.com
https://ebookmeta.com/product/if-looks-could-kill-80-s-baby-
series-2-1st-edition-tamrin-banks/
ebookmeta.com
https://ebookmeta.com/product/her-special-alpha-hot-seals-x-
ops-3-5-paige-tyler/
ebookmeta.com
https://ebookmeta.com/product/ours-to-share-1st-edition-ar-taboo/
ebookmeta.com
Brand Strategy in Three Steps: A Purpose-Driven Approach
to Branding 1st Edition Jay Mandel
https://ebookmeta.com/product/brand-strategy-in-three-steps-a-purpose-
driven-approach-to-branding-1st-edition-jay-mandel/
ebookmeta.com
Software Development
with Go
Cloud-Native Programming
using Golang with Linux
and Docker
Nanik Tolaram
Software Development with Go: Cloud-Native Programming using Golang
with Linux and Docker
Nanik Tolaram
Sydney, NSW, Australia
Acknowledgments����������������������������������������������������������������������������xvii
Introduction���������������������������������������������������������������������������������������xix
v
Table of Contents
ELF Package�������������������������������������������������������������������������������������������������������22
High-Level ELF Format���������������������������������������������������������������������������������������������� 23
Dump Example���������������������������������������������������������������������������������������������������������� 24
/sys Filesystem���������������������������������������������������������������������������������������������������28
Reading AppArmor����������������������������������������������������������������������������������������������������� 29
Summary������������������������������������������������������������������������������������������������������������31
Summary������������������������������������������������������������������������������������������������������������48
vi
Table of Contents
Docker Proxy�������������������������������������������������������������������������������������������������������98
Container Attack Surface����������������������������������������������������������������������������������105
Summary����������������������������������������������������������������������������������������������������������106
gosec����������������������������������������������������������������������������������������������������������������122
Inside gosec������������������������������������������������������������������������������������������������������������ 123
Rules������������������������������������������������������������������������������������������������������������������������ 128
Summary����������������������������������������������������������������������������������������������������������130
vii
Table of Contents
Chapter 8: Scorecard������������������������������������������������������������������������131
Source Code������������������������������������������������������������������������������������������������������131
What Is Scorecard?�������������������������������������������������������������������������������������������131
Setting Up Scorecard����������������������������������������������������������������������������������������������� 133
Running Scorecard�������������������������������������������������������������������������������������������������� 137
High-Level Flow������������������������������������������������������������������������������������������������������� 139
GitHub���������������������������������������������������������������������������������������������������������������145
GitHub API���������������������������������������������������������������������������������������������������������������� 145
GitHub Explorer�������������������������������������������������������������������������������������������������������� 156
Summary����������������������������������������������������������������������������������������������������������159
UDP Networking������������������������������������������������������������������������������������������������168
UDP Client���������������������������������������������������������������������������������������������������������������� 169
UDP Server�������������������������������������������������������������������������������������������������������������� 172
Concurrent Servers�������������������������������������������������������������������������������������������������� 174
Load Testing������������������������������������������������������������������������������������������������������175
Summary����������������������������������������������������������������������������������������������������������179
viii
Table of Contents
DNS Server��������������������������������������������������������������������������������������������������������188
Running a DNS Server��������������������������������������������������������������������������������������������� 188
DNS Forwarder�������������������������������������������������������������������������������������������������������� 189
Pack and Unpack����������������������������������������������������������������������������������������������������� 193
Summary����������������������������������������������������������������������������������������������������������196
Using gopacket�������������������������������������������������������������������������������������������������205
pcap������������������������������������������������������������������������������������������������������������������������� 205
Networking Sniffer�������������������������������������������������������������������������������������������������� 206
Capturing With BPF�������������������������������������������������������������������������������������������������� 217
Summary����������������������������������������������������������������������������������������������������������222
Epoll Library������������������������������������������������������������������������������������������������������232
Summary����������������������������������������������������������������������������������������������������������235
ix
Table of Contents
Summary����������������������������������������������������������������������������������������������������������263
Summary����������������������������������������������������������������������������������������������������������290
x
Table of Contents
Summary����������������������������������������������������������������������������������������������������������306
Bubbletea����������������������������������������������������������������������������������������������������������313
Init��������������������������������������������������������������������������������������������������������������������������� 315
Update��������������������������������������������������������������������������������������������������������������������� 318
View������������������������������������������������������������������������������������������������������������������������� 319
Summary����������������������������������������������������������������������������������������������������������321
xi
Table of Contents
Index�������������������������������������������������������������������������������������������������377
xii
About the Author
Nanik Tolaram is a big proponent of open source software with over 20
years of industry experience. He has dabbled in different programming
languages like Java, JavaScript, C, and C++. He has developed different
products from the ground up while working in start-up companies. He is
a software engineer at heart, but he loves to write technical articles and
share his knowledge with others. He learned to program with Go during
the COVID-19 pandemic and hasn’t looked back.
xiii
About the Technical Reviewer
Fabio Claudio Ferracchiati is a senior consultant and a senior
analyst/developer using Microsoft technologies. He works for BluArancio
(www.bluarancio.com). He is a Microsoft Certified Solution Developer for
.NET, a Microsoft Certified Application Developer for .NET, a Microsoft
Certified Professional, and a prolific author and technical reviewer.
Over the past ten years, he’s written articles for Italian and international
magazines and coauthored more than ten books on a variety of
computer topics.
xv
Acknowledgments
Thanks to everyone on the Apress team who helped and guided me so
much. Special thanks to James Robinson-Prior who guided me through
the writing process and to Nirmal Selvaraj who made sure everything was
done correctly and things were on track.
Thanks to the technical reviewers for taking time from their busy
schedules to review my book and provide great feedback.
Finally, thanks to you, the reader, for spending time reading this book
and spreading the love of Go.
xvii
Other documents randomly have
different content
… Ce même jour, le capitaine John P. Andrews, commandant du
Maranha, paquebot-poste parti de Southampton le 24 janvier à
destination du Cap, écrivait sur son livre de bord :
De la même série.
Prix, 2 francs ; port, 0 fr. 30. Relié, 4 francs ; port, 0 fr. 45.
De la même série.
Prix, 2 francs ; port, 0 fr. 30. Relié, 4 francs ; port, 0 fr. 45.
L’Erreur de Gertrude
par Charles Péronnet.