Wraps the uhppoted-core API together with non-core utilities for use as an internal library for applications.
  • Go 99.7%
  • Makefile 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-06 11:32:46 -07:00
.github/workflows Updating to Go 1.27 2026-10-01 11:44:12 -07:00
acl grant: allowed empty door lists so that first-card privileges could be applied any existing doors 2026-09-01 08:17:00 -07:00
command Migrating from github to codeberg 2026-07-20 10:13:36 -07:00
config Updating to Go 1.27 2026-10-01 11:44:12 -07:00
encoding Updating to Go 1.27 2026-10-01 11:44:12 -07:00
eventlog Migrating from github to codeberg 2026-07-20 10:13:36 -07:00
kvs Migrating from github to codeberg 2026-07-20 10:13:36 -07:00
locales Migrating from github to codeberg 2026-07-20 10:13:36 -07:00
lockfile Migrating from github to codeberg 2026-07-20 10:13:36 -07:00
log Executed fatal hooks in reverse order 2022-08-15 13:16:09 -07:00
monitoring Migrating from github to codeberg 2026-07-20 10:13:36 -07:00
os Reworked FetchEvents to use batch size rather than 'to' event (cf. https://github.com/uhppoted/uhppoted-mqtt/issues/16) 2023-11-16 10:27:39 -08:00
uhppoted Migrating from github to codeberg 2026-07-20 10:13:36 -07:00
.gitignore Reworked ACL to retain stored card PIN (cf. https://github.com/uhppoted/uhppote-core/issues/8) 2023-02-13 10:32:13 -08:00
CHANGELOG.md Preparing release v0.9.1 2026-10-06 11:29:15 -07:00
doc.go Added doc.go package overview documentation (cf. https://github.com/uhppoted/uhppoted/issues/22) 2023-01-17 10:24:44 -08:00
go.mod Preparing release v0.9.1 2026-10-06 11:29:15 -07:00
go.sum Preparing release v0.9.1 2026-10-06 11:29:15 -07:00
LICENSE Initial import from uhppoted-api 2021-06-17 09:49:11 -07:00
Makefile Removed make push target 2026-08-20 10:12:40 -07:00
README.md Preparing release v0.9.1 2026-10-06 11:32:46 -07:00
TODO.md Reworked badges to use shield.io endpoint protocol 2026-09-07 09:58:55 -07:00

build

uhppoted-lib

Shared library that implements the functionality common to multiple uhppoted sub-projects. In particular:

  • conf file marshaling
  • ACL (access control lists)
  • TSV encoding and decoding
  • Wrapper functions for the rest and MQTT services to facilitate invoking controller functions on multiple devices.

Release Notes

Current Release

0.9.1 - 2026-10-06

  1. Migrated from github to codeberg.
  2. Updated to Go v1.27.
  3. Added SetFirstCard API function.
  4. Added first card privileges to card.
  5. (Optionally) included PIN and first-card privileges in ACL APIs.
  6. Added rest.PIN.enabled and rest.firstcard.enabled to uhppoted.conf.
  7. Added mqtt.PIN.enabled and mqtt.firstcard.enabled to uhppoted.conf.

Development

Building from source

Assuming you have Go and make installed:

git clone https://codeberg.org/uhppoted/uhppoted-lib.git
cd uhppoted-lib
make build

If you prefer not to use make:

git clone https://codeberg.org/uhppoted/uhppoted-lib.git
cd uhppoted-lib
mkdir bin
go build -trimpath -o bin ./...