Help us shape the future of Go! Take the 2026 Go Developer Survey

datacap

package
v0.0.0-...-97b48c1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDataCapListener

func AddDataCapListener(l func(hitDataCap bool))

AddDataCapListener adds a listener for any updates to the data cap.

func ServeDataCap

func ServeDataCap(channel ws.UIChannel, iconURL func() string, clickURL func() string, isPro func() (bool, bool)) error

ServeDataCap starts serving data cap data to the frontend.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL