parent
5ebd42d8f9
commit
9acf73a4d9
14 changed files with 315 additions and 57 deletions
|
|
@ -17,6 +17,9 @@ const (
|
|||
|
||||
// PasswordTokenKey is the key value used to store a password token in context
|
||||
PasswordTokenKey = "password_token"
|
||||
|
||||
// LoggerKey is the key value used to store a structured logger in context
|
||||
LoggerKey = "logger"
|
||||
)
|
||||
|
||||
// IsCanceledError determines if an error is due to a context cancelation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue