| Code | |||
| .gitignore | 1.72 KB | ||
| README.md | 3.41 KB | ||
| appendixA | |||
| tooling | |||
| README.md | 427 B | ||
| main.go | 126 B | ||
| chapter1 | |||
| chat | |||
| client.go | 696 B | ||
| main.go | 1.03 KB | ||
| room.go | 2.15 KB | ||
| templates | |||
| chat.html | 1.3 KB | ||
| js | |||
| chat.js | 731 B | ||
| trace | |||
| tracer.go | 841 B | ||
| tracer_test.go | 494 B | ||
| chapter2 | |||
| chat | |||
| auth.go | 2.23 KB | ||
| client.go | 848 B | ||
| main.go | 2.06 KB | ||
| message.go | 160 B | ||
| room.go | 2.37 KB | ||
| templates | |||
| chat.html | 1.54 KB | ||
| login.html | 1007 B | ||
| chapter3 | |||
| chat | |||
| auth.go | 2.92 KB | ||
| avatar.go | 1.68 KB | ||
| avatar_test.go | 1.81 KB | ||
| client.go | 949 B | ||
| main.go | 2.66 KB | ||
| message.go | 185 B | ||
| room.go | 2.36 KB | ||
| templates | |||
| chat.html | 2.19 KB | ||
| login.html | 1007 B | ||
| upload.html | 710 B | ||
| upload.go | 689 B | ||
| chapter4 | |||
| available | |||
| main.go | 843 B | ||
| coolify | |||
| main.go | 789 B | ||
| domainfinder | |||
| build.sh | 508 B | ||
| main.go | 812 B | ||
| domainify | |||
| main.go | 630 B | ||
| simpletool | |||
| main.go | 79 B | ||
| sprinkle | |||
| main.go | 551 B | ||
| synonyms | |||
| main.go | 590 B | ||
| thesaurus | |||
| bighugh.go | 819 B | ||
| bighugh_test.go | 566 B | ||
| thesaurus.go | 94 B | ||
| chapter5 | |||
| README.md | 535 B | ||
| counter | |||
| main.go | 2.2 KB | ||
| twittervotes | |||
| main.go | 4.16 KB | ||
| setup.sh | 297 B | ||
| chapter6 | |||
| api | |||
| main.go | 1.62 KB | ||
| path.go | 665 B | ||
| path_test.go | 1.07 KB | ||
| polls.go | 2.17 KB | ||
| respond.go | 852 B | ||
| vars.go | 1.09 KB | ||
| vars_test.go | 657 B | ||
| counter | |||
| main.go | 2.2 KB | ||
| twittervotes | |||
| main.go | 4.16 KB | ||
| setup.sh | 297 B | ||
| web | |||
| main.go | 339 B | ||
| public | |||
| index.html | 1.25 KB | ||
| new.html | 1.78 KB | ||
| view.html | 2.49 KB | ||
| chapter7 | |||
| meander | |||
| cmd | |||
| main.go | 1.31 KB | ||
| cost_level.go | 1022 B | ||
| cost_level_test.go | 1.4 KB | ||
| journeys.go | 918 B | ||
| place_test.go | 813 B | ||
| public.go | 413 B | ||
| public_test.go | 652 B | ||
| query.go | 3.1 KB | ||
| meanderweb | |||
| README.md | 32 B | ||
| main.go | 339 B | ||
| public | |||
| app.css | 593 B | ||
| app.js | 4.74 KB | ||
| index.html | 2.65 KB | ||
| loading.gif | 673 B | ||
| chapter8 | |||
| backup | |||
| archiver.go | 2.26 KB | ||
| archiver_test.go | 1.05 KB | ||
| cmds | |||
| backup | |||
| main.go | 1.93 KB | ||
| backupd | |||
| README.md | 146 B | ||
| main.go | 2.36 KB | ||
| dirhash.go | 692 B | ||
| dirhash_test.go | 560 B | ||
| monitor.go | 973 B | ||
| monitor_test.go | 656 B | ||
| test | |||
| archive | |||
| please_leave.txt | 151 B | ||
| hash1 | |||
| sub | |||
| else.txt | 4 B | ||
| something.txt | 20 B | ||
| hash2 | |||
| sub | |||
| something.txt | 20 B | ||
| Mat Ryer - Go Programming Blueprints - 2015.epub | 1.51 MB | ||
| Mat Ryer - Go Programming Blueprints - 2015.pdf | 2.81 MB |
Книги и журналы » Компьютерная литература » Веб-дизайн и программирование
Go Programming Blueprints
Год: 2015
Автор: Mat Ryer
Издательство: Packt Publishing
ISBN: 978-1-78398-803-7
Язык: Английский
Формат: PDF/EPUB
Качество: Изначально компьютерное (eBook)
Интерактивное оглавление: Да
Количество страниц: 274
Описание:
Dive headfirst into solving actual enterprise problems and start cutting code from the word go. You will build complete applications around a variety of subjects using a range of different technologies and techniques, all of which are directly applicable to today's tech start-up world.
Scale, performance, and high availability lie at the heart of the projects, and the lessons learned throughout this book will arm you with everything you need to build world-class solutions. Well-designed applications and sensible architectures can scale horizontally to cope with the demands of up to millions of users, while avoiding the prohibitive up-front investment that can bring a project to its knees.
[spoiler="Примеры страниц"]
![]()
[/spoiler]
[spoiler="Оглавление"]
Preface
Chapter 1: Chat Application with Web Sockets
A simple web server
Modeling a chat room and clients on the server
Building an HTML and JavaScript chat client
Tracing code to get a look under the hood
Chapter 2: Adding Authentication
Handlers all the way down
Making a pretty social sign-in page
Endpoints with dynamic paths
OAuth2
Tell the authentication providers about your app
Implementing external logging in
Chapter 3: Three Ways to Implement Profie Pictures
Avatars from the authentication server
Implementing Gravatar
Uploading an avatar picture
Combining all three implementations
Chapter 4: Command-line Tools to Find Domain Names
Pipe design for command-line tools
Five simple programs
Composing all fie programs
Chapter 5: Building Distributed Systems and Working with Flexible Data
System design
Installing the environment
Votes from Twitter
Counting votes
Running our solution
Chapter 6: Exposing Data and Functionality through a RESTful Data Web Service API
RESTful API design
Sharing data between handlers
Wrapping handler functions
Responding
Understanding the request
A simple main function to serve our API
Handling endpoints
A web client that consumes the API
Running the solution
Chapter 7: Random Recommendations Web Service
Project overview
Representing data in code
Generating random recommendations
Chapter 8: Filesystem Backup
Solution design
Backup package
The user command-line tool
The daemon backup tool
Testing our solution
Appendix: Good Practices for a Stable Go Environment
Installing Go
Confiuring Go
Go tools
Cleaning up, building, and running tests on save
Index
[/spoiler]
До перезалития, торрент был скачан - 769 раз.
Торрент перезалит. Причина: добавлен Code.
All Comments