MCPcopy
hub / github.com/segmentio/kafka-go / makeDuration

Function makeDuration

time.go:28–30  ·  view source on GitHub ↗
(ms int32)

Source from the content-addressed store, hash-verified

26}
27
28func makeDuration(ms int32) time.Duration {
29 return time.Duration(ms) * time.Millisecond
30}
31
32func milliseconds(d time.Duration) int32 {
33 switch {

Callers 15

HeartbeatMethod · 0.85
LeaveGroupMethod · 0.85
OffsetDeleteMethod · 0.85
CreatePartitionsMethod · 0.85
CreateACLsMethod · 0.85
AlterClientQuotasMethod · 0.85
AddOffsetsToTxnMethod · 0.85
RawProduceMethod · 0.85
ReadBatchWithMethod · 0.85
DeleteTopicsMethod · 0.85
MetadataMethod · 0.85

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…