MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / Context

Method Context

pkg/component/component.go:267–269  ·  view source on GitHub ↗

Context returns the context of the component.

()

Source from the content-addressed store, hash-verified

265
266// Context returns the context of the component.
267func (c *Component) Context() context.Context {
268 return c.ctx
269}
270
271// GetBaseConfig gets the base config of the component.
272func (c *Component) GetBaseConfig(ctx context.Context) config.ServiceBase {

Callers 3

serveWebMethod · 0.95
initClusterMethod · 0.95
serveInteropMethod · 0.95

Implementers 1

Componentpkg/component/component.go

Calls

no outgoing calls

Tested by

no test coverage detected