Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheThingsNetwork/lorawan-stack
/ newContext
Function
newContext
cmd/ttn-lw-cli/commands/context.go:26–29 ·
view source on GitHub ↗
(parent context.Context)
Source
from the content-addressed store, hash-verified
24
var
cancelSignals = []os.Signal{syscall.SIGHUP, os.Interrupt, syscall.SIGTERM}
25
26
func
newContext(parent context.Context) context.Context {
27
ctx, _ := signal.NotifyContext(parent, cancelSignals...)
28
return
ctx
29
}
Callers
1
root.go
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected