Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

countminsketchdemo/v0 package

Overview

Package countminsketchdemo is a small gnoweb demo of the frequency sketch provided by the p/moul/x/daily/countminsketch(/p/moul/x/daily/countminsketch/v0) library: fixed storage, one-sided error, and what a collision looks like.

It contains no sketch logic of its own. Stateless, so Render is deterministic — which is precisely what the library is for.

Function

Render

func Render(path string) string

Render renders the demo for gnoweb.

Param

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/moul/x/daily/countminsketchdemo/v0.Render()"

Result