Skip to content

ippoippo/go-ctx-lt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-ctx-lt

Source code that will be used in a blog post.

Pre-requisites

Tasks

  • task timeout-demo : Simple demonstration of a timeout on an API call.
  • task timeout-with-cause-demo : Adds in custom error for when a timeout occurs.
  • task deadline-demo : Based on timeout-demo, but shows we can use Deadline instead.
  • task statuschecker-demo : Demonstrates use of context cancel.
  • task simplecontextvalue-demo : Demonstrates simplistic context values.
  • task contextvalue-demo : Demonstrates using context values, with package keys, to set trace-ids in a webserver.
  • task contextvalue-demo-curl : To be used in connjuction with contextvalue-demo.
  • task parentchildcancellation-demo : Demonstrates using that cancellation only propogates down

About

context.Context LT or Blog post source code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages