mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Add document for Distinct IP file
This commit is contained in:
parent
af1134362a
commit
b18e6fcfe4
1 changed files with 15 additions and 0 deletions
|
@ -1,5 +1,20 @@
|
|||
package sinkcluster
|
||||
|
||||
/* ClusterWriter, and (ClusterCountResult).Count output a streamed IP set journal file to remember distinct IP address
|
||||
|
||||
its format is as follows:
|
||||
|
||||
This file should be in newline-delimited JSON format(https://jsonlines.org/).
|
||||
For each line, the format of json data should be in the format of:
|
||||
{"recordingStart":"2022-05-30T14:38:44.678610091Z","recordingEnd":"2022-05-30T14:39:48.157630926Z","recorded":""}
|
||||
|
||||
recordingStart:datetime is the time this chunk of recording start.
|
||||
|
||||
recordingEnd:datetime is the time this chunk of recording end.
|
||||
|
||||
recorded is the checkpoint data generated by hyperloglog.
|
||||
*/
|
||||
|
||||
import "time"
|
||||
|
||||
type SinkEntry struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue