Cargando…

Echo Quick Start Guide : Build lightweight and high-performance web apps with Echo.

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.

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Huson, J. Ben
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2018.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Title Page; Copyright and Credits; Dedication; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Understanding HTTP, Go, and Echo; Technical requirements; HTTP basics; HTTP request; HTTP response; Go HTTP handlers; Go HTTP web server; Reasons for a framework; Setting up the environment; Setting up Echo; Summary; Chapter 2: Developing Echo Projects; Technical requirements; Setting up a project in echo and organizing code; Implementing a project; Dependency management; Routing and handlers; Routing; Handlers; Middleware; Custom middleware; Rendering; Summary.
  • Chapter 3: Exploring Routing CapabilitiesTechnical requirements; Basic handler routing; Adding routes; How Echo routing works; Group routing; Router implementation considerations; In action; Summary; Chapter 4: Implementing Middleware; Technical requirements; Basics of middleware processing; Middleware chaining; Creating custom middleware; In action; Summary; Chapter 5: Utilizing the Request Context and Data Bindings; Technical requirements; Maintaining context; Globally requesting context mapping; The new handler function type; Hiding context within a request; Post Go 1.7; Echo context.
  • Request bindingResponse rendering; echo. Response; Summary; Chapter 6: Performing Logging and Error Handling; Technical requirements; Logging; Echo's Logger interface; Log levels; Logger middleware; Error handling; Handling application panics; Summary; Chapter 7: Testing Applications; Technical requirements; Types of testing; Unit testing; Benchmark testing; Behavior testing; Integration testing; Security testing; Unit testing middleware and handler code; Benchmark testing web applications; External behavior and integration testing; Summary; Chapter 8: Providing Templates and Static Content.
  • Technical requirementsServing static files; Template basics; Templates within Echo; Calling Echo from templates; Summary; Other Books You May Enjoy; Index.