Documentation ¶ Index ¶ func NewVerifierPlugin(opts pluginv1.Option, log *log.Helper) (pluginv1.Plugin, error) func ReadAndSumHash(basepath string, cacheKey string, count int, chunkSzie uint64) (string, error) type ReportClient type ReportPayload Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewVerifierPlugin ¶ func NewVerifierPlugin(opts pluginv1.Option, log *log.Helper) (pluginv1.Plugin, error) func ReadAndSumHash ¶ func ReadAndSumHash(basepath string, cacheKey string, count int, chunkSzie uint64) (string, error) Types ¶ type ReportClient ¶ type ReportClient interface { Do() error } type ReportPayload ¶ type ReportPayload struct { Url string `json:"url"` Hash string `json:"hash"` Lm string `json:"lm"` Cl uint64 `json:"cl"` } Source Files ¶ View all Source files crc.gometrics.goverifier.go Click to show internal directories. Click to hide internal directories.