package tiny_httpd

  1. Overview
  2. Docs

Counters

type t

A counter, monotonically increasing

val create : Registry.t -> ?tags:tags -> ?descr:string -> string -> t
val incr : t -> unit
val incr_by : t -> int -> unit
val incr_to : t -> int -> unit

Increment to the given number. If it's lower than the current value this does nothing

OCaml

Innovation. Community. Security.