Index
A
- Advanced Message Queueing Protocol (AMQP) / Communicating between microservices
- another microservice
- used, for reading messages / Reading from another service
B
- basic API endpoint
- setting up / Setting up the basic API endpoint
- basic errors
- serving / Serving basic errors
- basic routing / Basic routing
- Blog Entries
- bottlenecks
- identifying / Identifying bottlenecks
C
- caching strategies
- implementing / Implementing caching strategies
- Least Recently Used (LRU) system, using / Using Least Recently Used
- caching, by file / Caching by file
- caching, in memory / Caching in memory
- code conventions
- about / Code conventions
- complex routing
- performing, Gorilla used / Using more complex routing with Gorilla
- context
- control structures
- cookies
- setting / Setting cookies
- securing / Securing cookies
- Create-Read-Update-Delete (CRUD) / RESTful architecture and best practices
- cross-site request forgery (CSRF)
- preventing / Preventing cross-site request forgery (CSRF)
D
- data
- modifying, with POST / Creating data with POST
- modifying, with PUT / Modifying data with PUT
- database
- connecting to / Connecting to a database
- MySQL database, creating / Creating a MySQL database
F
- fatal errors
- using / Using panics and fatal errors
- files
- serving / Serving files directly
- first API endpoint
- creating / Creating our first API endpoint
G
- Go
- installing / Installing Go
- reference, for installation instructions / Installing Go
- logging / Introducing logging in Go
- testing / Introducing testing in Go
- go get command
- installation link / Communicating between microservices
- Gorilla
- used, for performing complex routing / Using more complex routing with Gorilla
- gorilla/context package / Using more complex routing with Gorilla
- gorilla/rpc package / Using more complex routing with Gorilla
- gorilla/schema package / Using more complex routing with Gorilla
- gorilla/securecookie package / Using more complex routing with Gorilla
- gorilla/sessions package / Using more complex routing with Gorilla
- gorilla/mux package / Using more complex routing with Gorilla
- reference link / Using more complex routing with Gorilla
- GUID
- used, for customizing URLs / Using GUID for prettier URLs
H
- Hello, Web
- about / Hello, Web
- Hello World
- about / Importing packages
- HTML templates
- HTTP/2
- implementing / Implementing HTTP/2
- reference link / Implementing HTTP/2
- HTTPS Everywhere / HTTPS everywhere – implementing TLS
- HTTP Strict Transport Security (HSTS) / HTTPS everywhere – implementing TLS
- httptest package
- reference link / Introducing testing in Go
I
- IO
- logging to / Logging to IO
- multiple loggers / Multiple loggers
L
- Least Recently Used (LRU) system / Using Least Recently Used
- logic
M
- MakeCert
- reference link / Implementing security
- memcache
- reference link / Caching in memory
- message
- sending, on wire / Putting a message on the wire
- microservice
- about / Introducing the microservice approach
- utilizing, pros / Pros and cons of utilizing microservices
- utilizing, cons / Pros and cons of utilizing microservices
- concepts / Understanding the heart of microservices
- communicating between / Communicating between microservices
- MySQL
- download link / Connecting to a database
- URL / Creating a MySQL database
- MySQL database
- creating / Creating a MySQL database
N
- net package
- about / Introducing the net package
O
- Object-Relational Mapping (ORM) / Preventing SQL injection
- output
- formatting / Formatting your output
P
- packages
- importing / Importing packages
- private repositories, handling / Handling private repositories
- versioning, dealing with / Dealing with versioning
- panic() method / Using panics and fatal errors
- panics
- using / Using panics and fatal errors
- POST
- used, for creating data / Creating data with POST
- Postgres
- URL / Connecting to a database
- project
- structuring / Structuring a project
- PUT
- used, for modifying data / Modifying data with PUT
R
- RabbitMQ
- reference link / Communicating between microservices, Putting a message on the wire
- using / Putting a message on the wire
- requests
- redirecting / Redirecting requests
- RESTful architecture / RESTful architecture and best practices
- RESTful best practices / RESTful architecture and best practices
- reverse proxies
- implementing / Implementing reverse proxies
S
- 404s
- handling / Handling 404s
- securecookie package
- reference link / Securing cookies
- secure middleware
- using / Using the secure middleware
- reference link / Using the secure middleware
- security
- displaying / Displaying variables and security
- implementing / Implementing security
- server-side session
- initiating / Initiating a server-side session
- store, creating / Creating a store
- flash messages, utilizing / Utilizing flash messages
- SQLDrivers
- URL / Connecting to a database
- SQL injection
- preventing / Preventing SQL injection
T
- templates
- text templates
- TLS
- implementing / HTTPS everywhere – implementing TLS
- Transport Security Layer (TSL) / Implementing security
U
- URLs
- customizing, with GUID / Using GUID for prettier URLs
- users
- information, capturing / Capturing user information
- creating / Creating users
- sessions, enabling / Enabling sessions
- registration, allowing / Letting users register
- log in, allowing / Letting users log in
V
- variables
- displaying / Displaying variables and security
- visibility
X
- XSS
- protecting against / Protecting against XSS