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

Function parseTime

pkg/redis/redis.go:470–476  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

468}
469
470func parseTime(s string) (time.Time, error) {
471 nsec, err := strconv.ParseFloat(s, 64)
472 if err != nil {
473 return time.Time{}, err
474 }
475 return time.Unix(0, int64(nsec)).UTC(), nil
476}
477
478// dispatchTask dispatches tasks for the callers of popTask. At least one dispatcher is required in order to use popTask.
479// The tasks are moved from InputTaskKey(k) to WaitingTaskKey(k). Once the task should be dispatched, it is moved form WaitingTaskKey(k) to ReadyTaskKey(k).

Callers 2

dispatchTaskFunction · 0.70
popTaskFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected