feature

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package feature holds compile-time feature flags gated by build tags, so a build can omit whole capabilities instead of only hiding them at runtime.

BLE (the Bluetooth status channel) is desktop-only: the desktop app bundles the jcode-ble helper and builds with `-tags desktop`. Plain `jcode web` (the browser server) is built without it, so BLE is compiled off — its notifier is never spawned, its API endpoints report unavailable, and the settings UI hides the toggle (the server reports the capability as false).

Index

Constants

View Source
const BLE = false

BLE is compiled OFF for non-desktop builds (plain `jcode web`, CLI). The browser web server has no need for a Bluetooth status channel.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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