PublisherWithClock sets the clock to use for publishing usage events.
(clock quartz.Clock)
| 102 | |
| 103 | // PublisherWithClock sets the clock to use for publishing usage events. |
| 104 | func PublisherWithClock(clock quartz.Clock) TallymanPublisherOption { |
| 105 | return func(p *tallymanPublisher) { |
| 106 | p.clock = clock |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | // PublisherWithIngestURL sets the ingest URL to use for publishing usage |
| 111 | // events. |
no outgoing calls