Enviar pesquisa
Carregar
How EasyLocus API adventures led to address solutions in Go
•
2 gostaram
•
742 visualizações
Título melhorado com IA
tdc-globalcode
Seguir
TDC2018SP | Trilha Go - Case Easylocus
Leia menos
Leia mais
Educação
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 20
Baixar agora
Baixar para ler offline
Recomendados
Case EasyLocus
Case EasyLocus
Henrique Holanda
Live Streaming & Server Sent Events
Live Streaming & Server Sent Events
tkramar
Phoenix demysitify, with fun
Phoenix demysitify, with fun
Tai An Su
Laravel Design Patterns
Laravel Design Patterns
Bobby Bouwmann
Handling external APIs with Elixir - Alex Rozumii
Handling external APIs with Elixir - Alex Rozumii
Elixir Club
Rack
Rack
Aakanksha Bhardwaj
Input and output flow using http and java component
Input and output flow using http and java component
Son Nguyen
Lecture6
Lecture6
Châu Thanh Chương
Recomendados
Case EasyLocus
Case EasyLocus
Henrique Holanda
Live Streaming & Server Sent Events
Live Streaming & Server Sent Events
tkramar
Phoenix demysitify, with fun
Phoenix demysitify, with fun
Tai An Su
Laravel Design Patterns
Laravel Design Patterns
Bobby Bouwmann
Handling external APIs with Elixir - Alex Rozumii
Handling external APIs with Elixir - Alex Rozumii
Elixir Club
Rack
Rack
Aakanksha Bhardwaj
Input and output flow using http and java component
Input and output flow using http and java component
Son Nguyen
Lecture6
Lecture6
Châu Thanh Chương
Input and output flow using file and logger component
Input and output flow using file and logger component
Son Nguyen
Memphis php 01 22-13 - laravel basics
Memphis php 01 22-13 - laravel basics
Joe Ferguson
Laravel 5 In Depth
Laravel 5 In Depth
Kirk Bushell
Laravel Events And Queue
Laravel Events And Queue
Vivek S
Concurrecny inf sharp
Concurrecny inf sharp
Riccardo Terrell
Laravel.IO A Use-Case Architecture
Laravel.IO A Use-Case Architecture
Shawn McCool
Actor Clustering with Docker Containers and Akka.Net in F#
Actor Clustering with Docker Containers and Akka.Net in F#
Riccardo Terrell
Sharding and Load Balancing in Scala - Twitter's Finagle
Sharding and Load Balancing in Scala - Twitter's Finagle
Geoff Ballinger
Laravel Beginners Tutorial 2
Laravel Beginners Tutorial 2
Vikas Chauhan
Mule esb :Data Weave
Mule esb :Data Weave
AnilKumar Etagowni
Mule esb first http connector
Mule esb first http connector
Germano Barba
Web api
Web api
udaiappa
High Performance RPC with Finagle
High Performance RPC with Finagle
Samir Bessalah
Getting Started-with-Laravel
Getting Started-with-Laravel
Mindfire Solutions
Complex Sites with Silex
Complex Sites with Silex
Chris Tankersley
ajax - the basics
ajax - the basics
Arnelle Balane
Laravel 8 events and listeners with example
Laravel 8 events and listeners with example
Katy Slemon
Rack
Rack
Revath S Kumar
Php mysql connectivity
Php mysql connectivity
abhikwb
Laravel 101
Laravel 101
Commit University
RESTEasy
RESTEasy
Massimiliano Dessì
May 2010 - RestEasy
May 2010 - RestEasy
JBug Italy
Mais conteúdo relacionado
Mais procurados
Input and output flow using file and logger component
Input and output flow using file and logger component
Son Nguyen
Memphis php 01 22-13 - laravel basics
Memphis php 01 22-13 - laravel basics
Joe Ferguson
Laravel 5 In Depth
Laravel 5 In Depth
Kirk Bushell
Laravel Events And Queue
Laravel Events And Queue
Vivek S
Concurrecny inf sharp
Concurrecny inf sharp
Riccardo Terrell
Laravel.IO A Use-Case Architecture
Laravel.IO A Use-Case Architecture
Shawn McCool
Actor Clustering with Docker Containers and Akka.Net in F#
Actor Clustering with Docker Containers and Akka.Net in F#
Riccardo Terrell
Sharding and Load Balancing in Scala - Twitter's Finagle
Sharding and Load Balancing in Scala - Twitter's Finagle
Geoff Ballinger
Laravel Beginners Tutorial 2
Laravel Beginners Tutorial 2
Vikas Chauhan
Mule esb :Data Weave
Mule esb :Data Weave
AnilKumar Etagowni
Mule esb first http connector
Mule esb first http connector
Germano Barba
Web api
Web api
udaiappa
High Performance RPC with Finagle
High Performance RPC with Finagle
Samir Bessalah
Getting Started-with-Laravel
Getting Started-with-Laravel
Mindfire Solutions
Complex Sites with Silex
Complex Sites with Silex
Chris Tankersley
ajax - the basics
ajax - the basics
Arnelle Balane
Laravel 8 events and listeners with example
Laravel 8 events and listeners with example
Katy Slemon
Rack
Rack
Revath S Kumar
Php mysql connectivity
Php mysql connectivity
abhikwb
Laravel 101
Laravel 101
Commit University
Mais procurados
(20)
Input and output flow using file and logger component
Input and output flow using file and logger component
Memphis php 01 22-13 - laravel basics
Memphis php 01 22-13 - laravel basics
Laravel 5 In Depth
Laravel 5 In Depth
Laravel Events And Queue
Laravel Events And Queue
Concurrecny inf sharp
Concurrecny inf sharp
Laravel.IO A Use-Case Architecture
Laravel.IO A Use-Case Architecture
Actor Clustering with Docker Containers and Akka.Net in F#
Actor Clustering with Docker Containers and Akka.Net in F#
Sharding and Load Balancing in Scala - Twitter's Finagle
Sharding and Load Balancing in Scala - Twitter's Finagle
Laravel Beginners Tutorial 2
Laravel Beginners Tutorial 2
Mule esb :Data Weave
Mule esb :Data Weave
Mule esb first http connector
Mule esb first http connector
Web api
Web api
High Performance RPC with Finagle
High Performance RPC with Finagle
Getting Started-with-Laravel
Getting Started-with-Laravel
Complex Sites with Silex
Complex Sites with Silex
ajax - the basics
ajax - the basics
Laravel 8 events and listeners with example
Laravel 8 events and listeners with example
Rack
Rack
Php mysql connectivity
Php mysql connectivity
Laravel 101
Laravel 101
Semelhante a How EasyLocus API adventures led to address solutions in Go
RESTEasy
RESTEasy
Massimiliano Dessì
May 2010 - RestEasy
May 2010 - RestEasy
JBug Italy
Laravel for Web Artisans
Laravel for Web Artisans
Raf Kewl
Unit Testing Express and Koa Middleware in ES2015
Unit Testing Express and Koa Middleware in ES2015
Morris Singer
Net/http and the http.handler interface
Net/http and the http.handler interface
Joakim Gustin
Net/http and the http.handler interface
Net/http and the http.handler interface
Evolve
神に近づくx/net/context (Finding God with x/net/context)
神に近づくx/net/context (Finding God with x/net/context)
guregu
API Days Paris - Automatic Testing of (RESTful) API Documentation
API Days Paris - Automatic Testing of (RESTful) API Documentation
Rouven Weßling
Using and scaling Rack and Rack-based middleware
Using and scaling Rack and Rack-based middleware
Alona Mekhovova
Http Communication in Angular 2.0
Http Communication in Angular 2.0
Eyal Vardi
GDG Devfest 2019 - Build go kit microservices at kubernetes with ease
GDG Devfest 2019 - Build go kit microservices at kubernetes with ease
KAI CHU CHUNG
Taming Core Data by Arek Holko, Macoscope
Taming Core Data by Arek Holko, Macoscope
Macoscope
SPARQLing cocktails
SPARQLing cocktails
Timea Turdean
Request dispacther interface ppt
Request dispacther interface ppt
Taha Malampatti
Express node js
Express node js
Yashprit Singh
An Introduction to Tornado
An Introduction to Tornado
Gavin Roy
Akka http 2
Akka http 2
Jean Detoeuf
Extending Retrofit for fun and profit
Extending Retrofit for fun and profit
Matthew Clarke
Bare-knuckle web development
Bare-knuckle web development
Johannes Brodwall
Creating a Whatsapp Clone - Part II - Transcript.pdf
Creating a Whatsapp Clone - Part II - Transcript.pdf
ShaiAlmog1
Semelhante a How EasyLocus API adventures led to address solutions in Go
(20)
RESTEasy
RESTEasy
May 2010 - RestEasy
May 2010 - RestEasy
Laravel for Web Artisans
Laravel for Web Artisans
Unit Testing Express and Koa Middleware in ES2015
Unit Testing Express and Koa Middleware in ES2015
Net/http and the http.handler interface
Net/http and the http.handler interface
Net/http and the http.handler interface
Net/http and the http.handler interface
神に近づくx/net/context (Finding God with x/net/context)
神に近づくx/net/context (Finding God with x/net/context)
API Days Paris - Automatic Testing of (RESTful) API Documentation
API Days Paris - Automatic Testing of (RESTful) API Documentation
Using and scaling Rack and Rack-based middleware
Using and scaling Rack and Rack-based middleware
Http Communication in Angular 2.0
Http Communication in Angular 2.0
GDG Devfest 2019 - Build go kit microservices at kubernetes with ease
GDG Devfest 2019 - Build go kit microservices at kubernetes with ease
Taming Core Data by Arek Holko, Macoscope
Taming Core Data by Arek Holko, Macoscope
SPARQLing cocktails
SPARQLing cocktails
Request dispacther interface ppt
Request dispacther interface ppt
Express node js
Express node js
An Introduction to Tornado
An Introduction to Tornado
Akka http 2
Akka http 2
Extending Retrofit for fun and profit
Extending Retrofit for fun and profit
Bare-knuckle web development
Bare-knuckle web development
Creating a Whatsapp Clone - Part II - Transcript.pdf
Creating a Whatsapp Clone - Part II - Transcript.pdf
Mais de tdc-globalcode
TDC2019 Intel Software Day - Visao Computacional e IA a servico da humanidade
TDC2019 Intel Software Day - Visao Computacional e IA a servico da humanidade
tdc-globalcode
TDC2019 Intel Software Day - Tecnicas de Programacao Paralela em Machine Lear...
TDC2019 Intel Software Day - Tecnicas de Programacao Paralela em Machine Lear...
tdc-globalcode
TDC2019 Intel Software Day - ACATE - Cases de Sucesso
TDC2019 Intel Software Day - ACATE - Cases de Sucesso
tdc-globalcode
TDC2019 Intel Software Day - Otimizacao grafica com o Intel GPA
TDC2019 Intel Software Day - Otimizacao grafica com o Intel GPA
tdc-globalcode
TDC2019 Intel Software Day - Deteccao de objetos em tempo real com OpenVino
TDC2019 Intel Software Day - Deteccao de objetos em tempo real com OpenVino
tdc-globalcode
TDC2019 Intel Software Day - OpenCV: Inteligencia artificial e Visao Computac...
TDC2019 Intel Software Day - OpenCV: Inteligencia artificial e Visao Computac...
tdc-globalcode
TDC2019 Intel Software Day - Inferencia de IA em edge devices
TDC2019 Intel Software Day - Inferencia de IA em edge devices
tdc-globalcode
Trilha BigData - Banco de Dados Orientado a Grafos na Seguranca Publica
Trilha BigData - Banco de Dados Orientado a Grafos na Seguranca Publica
tdc-globalcode
Trilha .Net - Programacao funcional usando f#
Trilha .Net - Programacao funcional usando f#
tdc-globalcode
TDC2018SP | Trilha Modern Web - Para onde caminha a Web?
TDC2018SP | Trilha Modern Web - Para onde caminha a Web?
tdc-globalcode
TDC2018SP | Trilha Go - Clean architecture em Golang
TDC2018SP | Trilha Go - Clean architecture em Golang
tdc-globalcode
TDC2018SP | Trilha Go - "Go" tambem e linguagem de QA
TDC2018SP | Trilha Go - "Go" tambem e linguagem de QA
tdc-globalcode
TDC2018SP | Trilha Mobile - Digital Wallets - Seguranca, inovacao e tendencia
TDC2018SP | Trilha Mobile - Digital Wallets - Seguranca, inovacao e tendencia
tdc-globalcode
TDC2018SP | Trilha .Net - Real Time apps com Azure SignalR Service
TDC2018SP | Trilha .Net - Real Time apps com Azure SignalR Service
tdc-globalcode
TDC2018SP | Trilha .Net - Passado, Presente e Futuro do .NET
TDC2018SP | Trilha .Net - Passado, Presente e Futuro do .NET
tdc-globalcode
TDC2018SP | Trilha .Net - Novidades do C# 7 e 8
TDC2018SP | Trilha .Net - Novidades do C# 7 e 8
tdc-globalcode
TDC2018SP | Trilha .Net - Obtendo metricas com TDD utilizando build automatiz...
TDC2018SP | Trilha .Net - Obtendo metricas com TDD utilizando build automatiz...
tdc-globalcode
TDC2018SP | Trilha .Net - .NET funcional com F#
TDC2018SP | Trilha .Net - .NET funcional com F#
tdc-globalcode
TDC2018SP | Trilha .Net - Crie SPAs com Razor e C# usando Blazor em .Net Core
TDC2018SP | Trilha .Net - Crie SPAs com Razor e C# usando Blazor em .Net Core
tdc-globalcode
TDC2018SP | Trilha .Net - Novidades do ASP.NET Core 2.1
TDC2018SP | Trilha .Net - Novidades do ASP.NET Core 2.1
tdc-globalcode
Mais de tdc-globalcode
(20)
TDC2019 Intel Software Day - Visao Computacional e IA a servico da humanidade
TDC2019 Intel Software Day - Visao Computacional e IA a servico da humanidade
TDC2019 Intel Software Day - Tecnicas de Programacao Paralela em Machine Lear...
TDC2019 Intel Software Day - Tecnicas de Programacao Paralela em Machine Lear...
TDC2019 Intel Software Day - ACATE - Cases de Sucesso
TDC2019 Intel Software Day - ACATE - Cases de Sucesso
TDC2019 Intel Software Day - Otimizacao grafica com o Intel GPA
TDC2019 Intel Software Day - Otimizacao grafica com o Intel GPA
TDC2019 Intel Software Day - Deteccao de objetos em tempo real com OpenVino
TDC2019 Intel Software Day - Deteccao de objetos em tempo real com OpenVino
TDC2019 Intel Software Day - OpenCV: Inteligencia artificial e Visao Computac...
TDC2019 Intel Software Day - OpenCV: Inteligencia artificial e Visao Computac...
TDC2019 Intel Software Day - Inferencia de IA em edge devices
TDC2019 Intel Software Day - Inferencia de IA em edge devices
Trilha BigData - Banco de Dados Orientado a Grafos na Seguranca Publica
Trilha BigData - Banco de Dados Orientado a Grafos na Seguranca Publica
Trilha .Net - Programacao funcional usando f#
Trilha .Net - Programacao funcional usando f#
TDC2018SP | Trilha Modern Web - Para onde caminha a Web?
TDC2018SP | Trilha Modern Web - Para onde caminha a Web?
TDC2018SP | Trilha Go - Clean architecture em Golang
TDC2018SP | Trilha Go - Clean architecture em Golang
TDC2018SP | Trilha Go - "Go" tambem e linguagem de QA
TDC2018SP | Trilha Go - "Go" tambem e linguagem de QA
TDC2018SP | Trilha Mobile - Digital Wallets - Seguranca, inovacao e tendencia
TDC2018SP | Trilha Mobile - Digital Wallets - Seguranca, inovacao e tendencia
TDC2018SP | Trilha .Net - Real Time apps com Azure SignalR Service
TDC2018SP | Trilha .Net - Real Time apps com Azure SignalR Service
TDC2018SP | Trilha .Net - Passado, Presente e Futuro do .NET
TDC2018SP | Trilha .Net - Passado, Presente e Futuro do .NET
TDC2018SP | Trilha .Net - Novidades do C# 7 e 8
TDC2018SP | Trilha .Net - Novidades do C# 7 e 8
TDC2018SP | Trilha .Net - Obtendo metricas com TDD utilizando build automatiz...
TDC2018SP | Trilha .Net - Obtendo metricas com TDD utilizando build automatiz...
TDC2018SP | Trilha .Net - .NET funcional com F#
TDC2018SP | Trilha .Net - .NET funcional com F#
TDC2018SP | Trilha .Net - Crie SPAs com Razor e C# usando Blazor em .Net Core
TDC2018SP | Trilha .Net - Crie SPAs com Razor e C# usando Blazor em .Net Core
TDC2018SP | Trilha .Net - Novidades do ASP.NET Core 2.1
TDC2018SP | Trilha .Net - Novidades do ASP.NET Core 2.1
Último
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
RKavithamani
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology ( Production , Purification , and Application )
Sakshi Ghasle
microwave assisted reaction. General introduction
microwave assisted reaction. General introduction
Maksud Ahmed
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
Maestría en Comunicación Digital Interactiva - UNR
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
David Douglas School District
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
dawncurless
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
9953056974 Low Rate Call Girls In Saket, Delhi NCR
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
PoojaSen20
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
sanyamsingh5019
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
GaneshChakor2
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
Marc Dusseiller Dusjagr
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
KarinaGenton
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
InMediaRes1
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
Association for Project Management
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
TechSoup
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
GeoBlogs
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
UmakantAnnand
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
UnboundStockton
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Celine George
Último
(20)
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology ( Production , Purification , and Application )
microwave assisted reaction. General introduction
microwave assisted reaction. General introduction
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
How EasyLocus API adventures led to address solutions in Go
1.
AS AVENTURAS QUE RESULTARAM
NA NOSSA API DE ENDEREÇOS EM GO Case EasyLocus
2.
@PAULOELR EASY @HENRIQUEHOLANDA EASY
3.
OBJETIVOS
4.
5.
O PROBLEMA
6.
BEEGO
7.
GO PURO
8.
ESCALABILIDADE
9.
GERENCIAMENTO DE DEPENDÊNCIAS
10.
MIDDLEWARES
11.
package middlewares import ( "easytaxi/easylocus/entities" "net/http" ) type
NotFoundMiddleware struct { Next http.Handler } func (controller NotFoundMiddleware) ServeHTTP(writer http.ResponseWriter, request *http.Request) { path := request.URL.Path routes := entities.Routes for _, route := range routes { if route.Path == path { controller.Next.ServeHTTP(writer, request) return } } http.NotFound(writer, request) } MIDDLEWARES
12.
package middlewares import ( NewRelicService
"easytaxi/easylocus/services/newrelic" "github.com/newrelic/go-agent" "net/http" ) type NewRelicMiddleware struct { Next http.Handler } func (controller NewRelicMiddleware) ServeHTTP(writer http.ResponseWriter, request *http.Request) { if NewRelicService.Agent != nil { _, newRelicHandler := newrelic.WrapHandle( NewRelicService.Agent, request.URL.Path, http.Handler(controller.Next), ) newRelicHandler.ServeHTTP(writer, request) return } controller.Next.ServeHTTP(writer, request) } MIDDLEWARES
13.
func main() { http.Handle( entities.RootEndpoint, middlewares.NotFoundMiddleware{ middlewares.NewRelicMiddleware{ controllers.IndexController{}, }, }, ) http.Handle( entities.PlaceEndpoint, middlewares.NotFoundMiddleware{ middlewares.NewRelicMiddleware{ middlewares.AuthenticationMiddleware{ controllers.PlaceController{}, }, }, }, ) log.Fatal(http.ListenAndServe(":"+conf.GetConfigs().Port,
nil)) } ROUTES
14.
METRICAS
15.
METRICAS
16.
METRICAS
17.
AUTENTICAÇÃO
18.
LOGS
19.
CONCLUSÃO
20.
OBRIGADO
Baixar agora