Book Image

Echo Quick Start Guide

By : Ben Huson
Book Image

Echo Quick Start Guide

By: Ben Huson

Overview of this book

Echo is a leading framework for creating web applications with the Go language.  This book will show you how to develop scalable real-world web apps, RESTful services, and backend systems with Echo.  After a thorough understanding of the basics, you'll be introduced to all the concepts for a building real-world web system with Echo. You will start with the the Go HTTP standard library, and setting up your work environment. You will move on to Echo handlers, group routing, data binding, and middleware processing. After that, you will learn how to test your Go application and use templates.  By the end of this book you will be able to build your very own high performance apps using Echo. A Quick Start Guide is a focussed, shorter title which provides a faster paced introduction to a technology. They are for people who don’t need all the detail at this point in their learning curve. The presentation has been streamlined to concentrate on the things you really need to know, rather than everything.
Table of Contents (10 chapters)

Performing Logging and Error Handling

Logging and error handling in a web application drastically aids in the troubleshooting of the application by operations team members. Reliable and deterministic error handling is essential to creating robust and reliable applications. The ability to provide team members the relevant information about the state of the running service is also important. By providing logging and tracing patterns within your service, you will be able to quickly isolate what is happening based on the logged information.

So much time is dedicated in application development to working out the functionality of the success case. This makes sense, as the service or application needs to function in the first place. It is very often easy to overlook the not-so-successful cases. By not handling errors well, your application will likely not be resilient, or fail with grace...